aboutsummaryrefslogtreecommitdiff
path: root/src/mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mysql.c')
-rw-r--r--src/mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql.c b/src/mysql.c
index f4e178f..2499154 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -174,3 +174,3 @@ s_mysql_query(struct sql_connect *conn, const char *query)
if (mysql_field_count(mysql) == 0) {
- cell = scm_makenum(mysql_affected_rows(mysql));
+ cell = scm_to_ulong(mysql_affected_rows(mysql));
} else { /* mysql_store_result() should have returned data */

Return to:

Send suggestions and report system problems to the System administrator.