aboutsummaryrefslogtreecommitdiffstats
path: root/src/mysqlerl.hrl
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-07-28 12:41:06 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-07-28 14:45:29 -0400
commit313eacd26062ce24452c569a68925fa4a317c9b4 (patch)
tree215ddb2167285718c97746318f2aa60f7f3bf9ec /src/mysqlerl.hrl
parent0871101e0df1ae0f80fc2bdec88e1f0a320b6f01 (diff)
downloadmysqlerl-313eacd26062ce24452c569a68925fa4a317c9b4.tar.gz
mysqlerl-313eacd26062ce24452c569a68925fa4a317c9b4.zip
Don't pass in DB connection params on CLI, but do it after process has spawned.
This is done when the port initializes, so it will work automagically when the binary dies and can be restarted by the port supervisor.
Diffstat (limited to 'src/mysqlerl.hrl')
-rw-r--r--src/mysqlerl.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mysqlerl.hrl b/src/mysqlerl.hrl
index 4e1230d..99e674f 100644
--- a/src/mysqlerl.hrl
+++ b/src/mysqlerl.hrl
@@ -1,3 +1,4 @@
+-record(sql_connect, {host, port, database, user, password, options}).
-record(sql_query, {q}).
-record(sql_param_query, {q, params}).
-record(sql_select_count, {q}).