summaryrefslogtreecommitdiffstats
path: root/backend/php-mysql
diff options
context:
space:
mode:
authorondrej.zara <none@none>2010-02-12 13:53:32 +0000
committerondrej.zara <none@none>2010-02-12 13:53:32 +0000
commit1e026022106c3d08f645c06ab3b16eccbe3805df (patch)
tree853f344bc83a9d179bcdf3ccf7d8d582efd9ff4e /backend/php-mysql
parentb238426f9ac5d4e70a200d32789c0ae3de50fa8c (diff)
downloadwwwsqldesigner-1e026022106c3d08f645c06ab3b16eccbe3805df.zip
wwwsqldesigner-1e026022106c3d08f645c06ab3b16eccbe3805df.tar.gz
wwwsqldesigner-1e026022106c3d08f645c06ab3b16eccbe3805df.tar.bz2
mysql null import bug
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4077
Diffstat (limited to 'backend/php-mysql')
-rw-r--r--backend/php-mysql/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/php-mysql/index.php b/backend/php-mysql/index.php
index b1f8244..1c6859c 100644
--- a/backend/php-mysql/index.php
+++ b/backend/php-mysql/index.php
@@ -47,7 +47,7 @@
$name = $row["COLUMN_NAME"];
$type = $row["COLUMN_TYPE"];
$comment = (isset($row["COLUMN_COMMENT"]) ? $row["COLUMN_COMMENT"] : "");
- $null = ($row["IS_NULLABLE"] == "YES" ? "0" : "1");
+ $null = ($row["IS_NULLABLE"] == "YES" ? "1" : "0");
$def = $row["COLUMN_DEFAULT"];
$ai = (preg_match("/auto_increment/i",$row["EXTRA"]) ? "1" : "0");
if ($def == "NULL") { $def = ""; }