mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
d01f2efebf
Let myisamchk generate a new checksum for compressed data. Don't unconditionally force filenames to lower case on windows. Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23) Docs/manual.texi: Link changes, and new comments about IA64 and about Sun workshop client/mysqltest.c: Updated this to match the 4.0 source include/config-win.h: Don't unconditionally force filenames to lower case on windows. innobase/include/ut0ut.h: Portability fix myisam/mi_cache.c: Fix problem where reported error number was -1 myisam/mi_check.c: Let myisamchk generate a new checksum for compressed data. myisam/mi_packrec.c: Cleanup myisam/myisamchk.c: Report checksum for compressed tables mysql-test/t/bdb.test: Fix to match new mysqltest mysql-test/t/err000001.test: Fix to match new mysqltest mysql-test/t/fulltext.test: Fix to match new mysqltest mysql-test/t/innodb.test: Fix to match new mysqltest mysql-test/t/overflow.test: Fix to match new mysqltest sql/ha_gemini.cc: Fix false -> FALSE sql/share/estonian/errmsg.txt: Updated of translation sql/share/swedish/errmsg.txt: Updated of translation sql/sql_parse.cc: Don't unconditionally force filenames to lower case on windows. sql/sql_table.cc: Don't unconditionally force filenames to lower case on windows. sql/sql_test.cc: Write current directory when using 'mysqladmin debug' strings/strto.c: Portability fix strings/strtoll.c: Portability fix strings/strtoul.c: Portability fix strings/strtoull.c: Portability fix
19 lines
568 B
Text
19 lines
568 B
Text
#
|
|
# Test some error conditions
|
|
#
|
|
|
|
drop table if exists t1;
|
|
!$1146 insert into t1 values(1);
|
|
!$1146 delete from t1;
|
|
!$1146 update t1 set a=1;
|
|
create table t1 (a int);
|
|
!$1054 select count(test.t1.b) from t1;
|
|
!$1109 select count(not_existing_database.t1) from t1;
|
|
!$1109 select count(not_existing_database.t1.a) from t1;
|
|
--error 1044,1146
|
|
select count(not_existing_database.t1.a) from not_existing_database.t1;
|
|
!$1054 select 1 from t1 order by 2;
|
|
!$1054 select 1 from t1 group by 2;
|
|
!$1054 select 1 from t1 order by t1.b;
|
|
!$1054 select count(*),b from t1;
|
|
drop table t1;
|