home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Bonus / Database / mysql-max-3.23.55.sit / mysql-max-3.23.55-apple-darwi.1 / mysql-test / t / err000001.test < prev    next >
Encoding:
Text File  |  2003-01-21  |  568 b   |  20 lines  |  [TEXT/ttxt]

  1. #
  2. # Test some error conditions
  3. #
  4.  
  5. drop table if exists t1;
  6. !$1146 insert into t1 values(1);
  7. !$1146 delete from t1;
  8. !$1146 update t1 set a=1;
  9. create table t1 (a int);
  10. !$1054 select count(test.t1.b) from t1;
  11. !$1109 select count(not_existing_database.t1) from t1;
  12. !$1109 select count(not_existing_database.t1.a) from t1;
  13. --error 1044,1146
  14. select count(not_existing_database.t1.a) from not_existing_database.t1;
  15. !$1054 select 1 from t1 order by 2;
  16. !$1054 select 1 from t1 group by 2;
  17. !$1054 select 1 from t1 order by t1.b;
  18. !$1054 select count(*),b from t1;
  19. drop table t1;
  20.