Parcourir la source

exporting mysql query into function

dpacaud il y a 12 ans
Parent
commit
a9d802d962
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      mysql-backend.js

+ 3 - 3
mysql-backend.js

@@ -89,11 +89,11 @@ StatdMySQLBackend.prototype.executeQuery = function(sqlQuerries) {
           else {
             //TODO : add better error handling code
             console.log("Error while executing sql query : " + sql); 
-          }  
-        }
+          }
+        });  
       }
     }
-  });
+  }
 });