Browse Source

fixed unit tests for cubrid and postgresql

both do not support unsigned integers
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
06a91d6271
  1. 4
      tests/unit/data/cubrid.sql
  2. 4
      tests/unit/data/postgres.sql

4
tests/unit/data/cubrid.sql

@ -63,8 +63,8 @@ CREATE TABLE `tbl_order_item` (
); );
CREATE TABLE tbl_null_values ( CREATE TABLE tbl_null_values (
`id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `id` INT(11) NOT NULL AUTO_INCREMENT,
`var1` INT UNSIGNED NULL, `var1` INT NULL,
`var2` INT NULL, `var2` INT NULL,
`var3` INT DEFAULT NULL, `var3` INT DEFAULT NULL,
`stringcol` VARCHAR (32) DEFAULT NULL, `stringcol` VARCHAR (32) DEFAULT NULL,

4
tests/unit/data/postgres.sql

@ -56,8 +56,8 @@ CREATE TABLE tbl_order_item (
); );
CREATE TABLE tbl_null_values ( CREATE TABLE tbl_null_values (
id INT UNSIGNED AUTOINCREMENT NOT NULL, id INT NOT NULL,
var1 INT UNSIGNED NULL, var1 INT NULL,
var2 INT NULL, var2 INT NULL,
var3 INT DEFAULT NULL, var3 INT DEFAULT NULL,
stringcol VARCHAR(32) DEFAULT NULL, stringcol VARCHAR(32) DEFAULT NULL,

Loading…
Cancel
Save