diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-08-14 11:12:17 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-08-14 11:12:17 +0400 |
commit | 9d853230077a97db819abc69a9197ab0b5f5aff2 (patch) | |
tree | f692c17c16849edeab2a12a586c952572a74ec09 /mysql-test/r/func_op.result | |
parent | 0f554dd0fdc54a07e38d6fd28b2f79a3dfc08713 (diff) | |
download | mariadb-git-9d853230077a97db819abc69a9197ab0b5f5aff2.tar.gz |
MDEV-13500 sql_mode=ORACLE: can't create a virtual column with function MOD
Fixing Item_func_mod::print() to print "arg1 MOD arg2" instea of "arg1 % arg2"
Diffstat (limited to 'mysql-test/r/func_op.result')
-rw-r--r-- | mysql-test/r/func_op.result | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/func_op.result b/mysql-test/r/func_op.result index 685aba1075f..36fe8446638 100644 --- a/mysql-test/r/func_op.result +++ b/mysql-test/r/func_op.result @@ -5,7 +5,7 @@ explain extended select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5)|0,-(1+1)*-2; id select_type table type possible_keys key key_len ref rows filtered Extra 1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used Warnings: -Note 1003 select 1 + 1 AS `1+1`,1 - 1 AS `1-1`,1 + 1 * 2 AS `1+1*2`,8 / 5 AS `8/5`,8 % 5 AS `8%5`,8 % 5 AS `mod(8,5)`,8 % 5 | 0 AS `mod(8,5)|0`,-(1 + 1) * -2 AS `-(1+1)*-2` +Note 1003 select 1 + 1 AS `1+1`,1 - 1 AS `1-1`,1 + 1 * 2 AS `1+1*2`,8 / 5 AS `8/5`,8 MOD 5 AS `8%5`,8 MOD 5 AS `mod(8,5)`,8 MOD 5 | 0 AS `mod(8,5)|0`,-(1 + 1) * -2 AS `-(1+1)*-2` select 1 | (1+1),5 & 3,bit_count(7) ; 1 | (1+1) 5 & 3 bit_count(7) 3 1 3 |