diff options
author | unknown <monty@mysql.com> | 2005-02-15 16:45:00 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-02-15 16:45:00 +0200 |
commit | 67b16d202b6e6912d6018685a0f7b0bb55cfbbad (patch) | |
tree | 16b9cc851452c212c3d986a1f88c4ae9a2f5d862 /mysql-test/t/row.test | |
parent | 40ffce74eb09dc1fd59d9d67fd44688be7f92fca (diff) | |
download | mariadb-git-67b16d202b6e6912d6018685a0f7b0bb55cfbbad.tar.gz |
Fixed failing test cases 'row.test' when running with --ps-protocol
Simple optimzations done while reviewing code
client/mysqltest.c:
Added options --enable-ps-warnings and --disable-ps-warnings
(to fix failing test case)
mysql-test/t/row.test:
Disable warnings that comes from 'parse' parth
sql/field.cc:
Removed calls to is_null() in field functions.
(Not needed as NULL handling is done on the level above fields)
Indentation fixes
Removed calls to alloca() as buffer needed was quite small.
sql/field.h:
Indentation changes and comment fixes
sql/filesort.cc:
Simple optimization during code review
sql/item.cc:
Indentation fixes
Removed some unnecessary tests (added DBUG_ASSERTS() instead)
sql/item_buff.cc:
Indentation fixes
sql/my_decimal.cc:
Indentation fixes
Simple optimization
Fixed compiler warning
sql/sql_update.cc:
Removed unnessessary assignment
Diffstat (limited to 'mysql-test/t/row.test')
-rw-r--r-- | mysql-test/t/row.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/row.test b/mysql-test/t/row.test index 62e8eb7991c..58b90c9a356 100644 --- a/mysql-test/t/row.test +++ b/mysql-test/t/row.test @@ -7,7 +7,9 @@ select (1,2,3) IN ((3,2,3), (1,2,3), (1,3,3)); select row(10,2,3) IN (row(3,2,3), row(1,2,3), row(1,3,3)); select row(1,2,3) IN (row(3,NULL,3), row(1,2,3), row(1,3,3)); select row(10,2,3) IN (row(3,NULL,3), row(1,2,3), row(1,3,3)); +--disable_ps_warnings select row('a',1.5,3) IN (row(1,2,3), row('a',1.5,3), row('a','a','a')); +--enable_ps_warnings select row('a',0,3) IN (row(3,2,3), row('a','0','3'), row(1,3,3)); select row('a',0,3) IN (row(3,2,3), row('a','a','3'), row(1,3,3)); select row('a',1.5,3) IN (row(3,NULL,3), row('a',1.5,3), row(1,3,3)); |