diff options
author | unknown <monty@hundin.mysql.fi> | 2002-05-22 21:07:23 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-05-22 21:07:23 +0300 |
commit | 45fd66ba47f6b842891c1361e92f21fdc3e17f80 (patch) | |
tree | 059d623eb234e471a753209af660bdbe306f57e6 /mysql-test | |
parent | 04aabfc28667606beeff970008e805b3029bfa76 (diff) | |
download | mariadb-git-45fd66ba47f6b842891c1361e92f21fdc3e17f80.tar.gz |
Portability fixes
Fixed problem with --password in mysql
client/mysql.cc:
Fixed problem with --password in mysql
mysql-test/r/type_decimal.result:
Portability fix
mysql-test/t/type_decimal.test:
Portability fix
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/type_decimal.result | 2 | ||||
-rw-r--r-- | mysql-test/t/type_decimal.test | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/r/type_decimal.result b/mysql-test/r/type_decimal.result index 94fa112b57b..f4dfc3c2891 100644 --- a/mysql-test/r/type_decimal.result +++ b/mysql-test/r/type_decimal.result @@ -232,7 +232,7 @@ a 99999999.99 drop table t1; create table t1 (a decimal(10,2)); -insert into t1 values (0.0),(-0.0),(+0.0),(01.0),(+01.0),(-01.0); +insert into t1 values (0.0),("-0.0"),(+0.0),(01.0),(+01.0),(-01.0); insert into t1 values (-.1),(+.1),(.1); insert into t1 values (00000000000001),(+0000000000001),(-0000000000001); insert into t1 values (+111111111.11),(111111111.11),(-11111111.11); diff --git a/mysql-test/t/type_decimal.test b/mysql-test/t/type_decimal.test index 70b30d455da..376aa0c7052 100644 --- a/mysql-test/t/type_decimal.test +++ b/mysql-test/t/type_decimal.test @@ -183,7 +183,8 @@ drop table t1; create table t1 (a decimal(10,2)); -insert into t1 values (0.0),(-0.0),(+0.0),(01.0),(+01.0),(-01.0); +# The -0.0 needs to be typed as not all platforms supports this +insert into t1 values (0.0),("-0.0"),(+0.0),(01.0),(+01.0),(-01.0); insert into t1 values (-.1),(+.1),(.1); insert into t1 values (00000000000001),(+0000000000001),(-0000000000001); insert into t1 values (+111111111.11),(111111111.11),(-11111111.11); |