OSDN Git Service

- remove ";" from SQL
authorfujimoto <fujimoto@2ef88817-412d-0410-a32c-8029a115e976>
Fri, 10 Dec 2004 10:02:50 +0000 (10:02 +0000)
committerfujimoto <fujimoto@2ef88817-412d-0410-a32c-8029a115e976>
Fri, 10 Dec 2004 10:02:50 +0000 (10:02 +0000)
class/Ethna_DB.php

index 917114e..84e16ec 100644 (file)
@@ -232,7 +232,7 @@ class Ethna_DB
                        $sql .= "$table WRITE";
                }
 
-               return $this->query("LOCK TABLES $sql;");
+               return $this->query("LOCK TABLES $sql");
        }
 
        /**
@@ -244,7 +244,7 @@ class Ethna_DB
        function unlock()
        {
                $this->message = null;
-               return $this->query("UNLOCK TABLES;");
+               return $this->query("UNLOCK TABLES");
        }
 
        /**