mysql-test/t/bdb-crash.test

    make sure we get correct data 
parent 1ba47390
ChargeID ServiceID ChargeDate ChargeAmount FedTaxes ProvTaxes ChargeStatus ChargeAuthorizationMessage ChargeComment ChargeTimeStamp
1 1 2001-03-01 1.00 1.00 1.00 New blablabla NULL now
2 1 2001-03-01 1.00 1.00 1.00 New NULL NULL now
...@@ -20,7 +20,7 @@ DEFAULT 'New' NOT NULL, ...@@ -20,7 +20,7 @@ DEFAULT 'New' NOT NULL,
BEGIN; BEGIN;
INSERT INTO tblCharge INSERT INTO tblCharge
VALUES(NULL,1,CURRENT_DATE(),1,1,1,'New',NULL,NULL,UNIX_TIMESTAMP(NOW())); VALUES(NULL,1,'2001-03-01',1,1,1,'New',NULL,NULL,'now');
COMMIT; COMMIT;
BEGIN; BEGIN;
...@@ -29,5 +29,6 @@ ChargeID = 1; ...@@ -29,5 +29,6 @@ ChargeID = 1;
COMMIT; COMMIT;
INSERT INTO tblCharge INSERT INTO tblCharge
VALUES(NULL,1,CURRENT_DATE(),1,1,1,'New',NULL,NULL,UNIX_TIMESTAMP(NOW())); VALUES(NULL,1,'2001-03-01',1,1,1,'New',NULL,NULL,'now');
select * from tblCharge;
drop table tblCharge; drop table tblCharge;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment