|
|
|
@ -12,7 +12,7 @@ if (!mysqli_query($link, 'DROP TABLE IF EXISTS test')) { |
|
|
|
exit(1); |
|
|
|
} |
|
|
|
|
|
|
|
if (!mysqli_query($link, 'CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine)) { |
|
|
|
if (!mysqli_query($link, 'CREATE TABLE test(id INT DEFAULT 0, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine)) { |
|
|
|
printf("Failed to create test table: [%d] %s\n", mysqli_errno($link), mysqli_error($link)); |
|
|
|
exit(1); |
|
|
|
} |
|
|
|
|