aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_mysql.c
diff options
context:
space:
mode:
authorgeronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-02-25 13:36:33 +0000
committergeronet <geronet@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-02-25 13:36:33 +0000
commitf5ca09365013ad01f33db2d2f58b222d6391b38d (patch)
tree14f52fa897c91489fa612827ff7bbdab42cf0d7b /plugin_mysql.c
parentc5130183e05c6dcb274b6341a05f496acf64aa1f (diff)
downloadlcd4linux-f5ca09365013ad01f33db2d2f58b222d6391b38d.tar.gz
[lcd4linux @ 2006-02-25 13:36:33 by geronet]
updated indent.sh, applied coding style git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@647 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_mysql.c')
-rw-r--r--plugin_mysql.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugin_mysql.c b/plugin_mysql.c
index 1ccdb0e..f616a39 100644
--- a/plugin_mysql.c
+++ b/plugin_mysql.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_mysql.c,v 1.10 2006/01/20 15:58:05 reinelt Exp $
+/* $Id: plugin_mysql.c,v 1.11 2006/02/25 13:36:33 geronet Exp $
*
* plugin for execute SQL queries into a MySQL DBSM.
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_mysql.c,v $
+ * Revision 1.11 2006/02/25 13:36:33 geronet
+ * updated indent.sh, applied coding style
+ *
* Revision 1.10 2006/01/20 15:58:05 reinelt
* MySQL::count() added again
*
@@ -170,7 +173,7 @@ static void my_MySQLcount(RESULT * result, RESULT * query)
char *q;
double value;
MYSQL_RES *res;
-
+
if (configure_mysql() < 0) {
value = -1;
SetResult(&result, R_NUMBER, &value);
@@ -203,7 +206,7 @@ static void my_MySQLquery(RESULT * result, RESULT * query)
char *q;
double value;
MYSQL_RES *res;
- MYSQL_ROW row=NULL;
+ MYSQL_ROW row = NULL;
if (configure_mysql() < 0) {
value = -1;