mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Added SQLSTATE to client/server protocol
bmove_allign -> bmove_align Added OLAP function ROLLUP Split mysql_fix_privilege_tables to a script and a .sql data file Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects. Added table_alias_charset, for easier --lower-case-table-name handling Better SQL_MODE handling (Setting complex options also sets sub options) New (faster) assembler string functions for x86
This commit is contained in:
@@ -5,11 +5,11 @@ update t1 set a=a+10 where a > 34;
|
||||
update t1 set a=a+100 where a > 0;
|
||||
update t1 set a=a+100 where a=1 and a=2;
|
||||
update t1 set a=b+100 where a=1 and a=2;
|
||||
Unknown column 'b' in 'field list'
|
||||
ERROR 42S22: Unknown column 'b' in 'field list'
|
||||
update t1 set a=b+100 where c=1 and a=2;
|
||||
Unknown column 'c' in 'where clause'
|
||||
ERROR 42S22: Unknown column 'c' in 'where clause'
|
||||
update t1 set d=a+100 where a=1;
|
||||
Unknown column 'd' in 'field list'
|
||||
ERROR 42S22: Unknown column 'd' in 'field list'
|
||||
select * from t1;
|
||||
a
|
||||
101
|
||||
|
||||
Reference in New Issue
Block a user