diff options
author | Ingela Anderton Andin <[email protected]> | 2011-06-16 11:50:31 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-06-16 11:50:31 +0200 |
commit | 1ef158b055f72288fe9d8a196d874b1310cbf342 (patch) | |
tree | c964857ac8187ab0a01ad39626f722f44868e765 /lib/odbc/test/postgres.erl | |
parent | 479833a852a79ada3a6badb2c3feb3bb9cee19b8 (diff) | |
parent | a70ee114820dd3922f3049e93981bc326af1863a (diff) | |
download | otp-1ef158b055f72288fe9d8a196d874b1310cbf342.tar.gz otp-1ef158b055f72288fe9d8a196d874b1310cbf342.tar.bz2 otp-1ef158b055f72288fe9d8a196d874b1310cbf342.zip |
Merge branch 'ia/odbc/mysql' into major
* ia/odbc/mysql:
Test odbc with MySQL
Diffstat (limited to 'lib/odbc/test/postgres.erl')
-rw-r--r-- | lib/odbc/test/postgres.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/odbc/test/postgres.erl b/lib/odbc/test/postgres.erl index 169ca26e43..9c7eed271f 100644 --- a/lib/odbc/test/postgres.erl +++ b/lib/odbc/test/postgres.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2010. All Rights Reserved. +%% Copyright Ericsson AB 2006-2011. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -275,9 +275,9 @@ param_select() -> %------------------------------------------------------------------------- describe_integer() -> - {ok,[{"int1",sql_smallint}, - {"int2",sql_integer}, - {"int3",sql_integer}]}. + {ok,[{"myint1",sql_smallint}, + {"myint2",sql_integer}, + {"myint3",sql_integer}]}. describe_string() -> {ok,[{"str1",{sql_char,10}}, @@ -288,7 +288,7 @@ describe_string() -> describe_floating() -> {ok,[{"f",sql_real},{"r",sql_real},{"d",{sql_float,15}}]}. describe_dec_num() -> - {ok,[{"dec",{sql_numeric,9,3}},{"num",{sql_numeric,9,2}}]}. + {ok,[{"mydec",{sql_numeric,9,3}},{"mynum",{sql_numeric,9,2}}]}. describe_timestamp() -> {ok, [{"field", sql_timestamp}]}. |