more fixes
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 15 Mar 2008 20:37:37 +0000 (20:37 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 15 Mar 2008 20:37:37 +0000 (20:37 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@116 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

www/inc/db/db_mysql.php
www/inc/db/db_scheme.php

index e233f89..5fb0904 100644 (file)
@@ -99,7 +99,7 @@ class MysqlEngine extends DbEngine
        {
                $this->tableappend="";
                $sql=$this->sqlCreateTable($tn,$t)." engine=".$this->engine." default charset=".$this->charset;
-               print("<pre>\n$sql\n</pre>\n");
+//             print("<pre>\n$sql\n</pre>\n");
                return mysqli_query($this->dbhdl,$sql);
        }
        
index 5838628..69443da 100644 (file)
@@ -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)