~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/warnings.test

  • Committer: patrick crews
  • Date: 2010-10-26 01:31:08 UTC
  • mfrom: (1878.7.1 drizzle)
  • mto: (1902.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1903.
  • Revision ID: gleebix@gmail.com-20101026013108-t2c3nokk4k8a7sxk
Updated tests to use variable vardir rather than a hard-coded one

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#
51
51
 
52
52
create table t1(a int, b int not null, c date, d char(5));
 
53
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
53
54
--error ER_WARN_NULL_TO_NOTNULL
54
 
load data infile '../../std_data_ln/warnings_loaddata.dat' into table t1 fields terminated by ',';
 
55
eval load data infile '$DRIZZLETEST_VARDIR/std_data_ln/warnings_loaddata.dat' into table t1 fields terminated by ',';
55
56
# PS doesn't work good with @@warning_count
56
57
--disable_ps_protocol
57
58
select @@warning_count;