Sfoglia il codice sorgente

exporting mysql query into function

dpacaud 12 anni fa
parent
commit
a9d802d962
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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); 
-          }  
-        }
+          }
+        });  
       }
     }
-  });
+  }
 });