mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[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
This commit is contained in:
+6
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user