Skip to content

Commit 5072b9d

Browse files
author
Manuel Eusebio de Paz Carmona
committed
Adding code to work as script
1 parent 1a792af commit 5072b9d

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎P01_benchmark/mysql_insert_loop.js‎

100644100755
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# work as an script: chmod +x filename.js
2+
#!/usr/bin/env node
3+
14
var mysql = require('mysql');
25
// Create a connection to MySql Server and Database
36

‎P01_benchmark/mysql_insert_loop.py‎

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# work as an script: chmod +x filename.js
12
#/usr/bin/env python
23

34
import time,mysql.connector

0 commit comments

Comments
 (0)