From: konrad Date: Sat, 15 Mar 2008 20:37:37 +0000 (+0000) Subject: more fixes X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=990a0b5a338247594f4aa9f713cc86e7ff6150a5;p=web%2Fkonrad%2Fsmoke.git more fixes git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@116 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/www/inc/db/db_mysql.php b/www/inc/db/db_mysql.php index e233f89..5fb0904 100644 --- a/www/inc/db/db_mysql.php +++ b/www/inc/db/db_mysql.php @@ -99,7 +99,7 @@ class MysqlEngine extends DbEngine { $this->tableappend=""; $sql=$this->sqlCreateTable($tn,$t)." engine=".$this->engine." default charset=".$this->charset; - print("
\n$sql\n
\n"); +// print("
\n$sql\n
\n"); return mysqli_query($this->dbhdl,$sql); } diff --git a/www/inc/db/db_scheme.php b/www/inc/db/db_scheme.php index 5838628..69443da 100644 --- a/www/inc/db/db_scheme.php +++ b/www/inc/db/db_scheme.php @@ -98,7 +98,7 @@ class DbScheme { ); //orders by customers $this->scheme["order"]=array( - "orderid" => array("int32","primarykey"), + "orderid" => array("seq32","primarykey"), //customer "customerid" => array("int32","foreignkey:customer:customerid"), //seller (_online for web forms)