quote -1 value in SQL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3877acb7e3
commit
bb47a88b57
|
@ -106,7 +106,7 @@ if (!$got_cats) {
|
||||||
" text_before_link varchar(128) not null default '<li>', " .
|
" text_before_link varchar(128) not null default '<li>', " .
|
||||||
" text_after_link varchar(128) not null default '<br />'," .
|
" text_after_link varchar(128) not null default '<br />'," .
|
||||||
" text_after_all varchar(128) not null default '</li>', " .
|
" text_after_all varchar(128) not null default '</li>', " .
|
||||||
" list_limit int not null default -1, " .
|
" list_limit int not null default '-1', " .
|
||||||
" PRIMARY KEY (cat_id) ".
|
" PRIMARY KEY (cat_id) ".
|
||||||
") ";
|
") ";
|
||||||
$result = mysql_query($sql) or print ("Can't create the table '$tablelinkcategories' in the database.<br />" . $sql . "<br />" . mysql_error());
|
$result = mysql_query($sql) or print ("Can't create the table '$tablelinkcategories' in the database.<br />" . $sql . "<br />" . mysql_error());
|
||||||
|
|
Loading…
Reference in New Issue