aboutsummaryrefslogtreecommitdiff
path: root/src/my/my.c
diff options
context:
space:
mode:
authorChristophe Genevey Metat <genevey.christophe@gmail.com>2016-06-01 17:13:39 +0000
committerChristophe Genevey Metat <genevey.christophe@gmail.com>2016-06-01 17:13:39 +0000
commit88dd25332f857f13724442b7d60980a44fae6350 (patch)
tree2fc025e95553244b13ca9ca291bc3c1ab2b72907 /src/my/my.c
parent1ac9ef013b0e9c737d6909ab41a38b45a3d36e43 (diff)
downloadgnunet-88dd25332f857f13724442b7d60980a44fae6350.tar.gz
gnunet-88dd25332f857f13724442b7d60980a44fae6350.zip
fixing insert query
Diffstat (limited to 'src/my/my.c')
-rw-r--r--src/my/my.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/my/my.c b/src/my/my.c
index 7f01d7f63..6c4ab6942 100644
--- a/src/my/my.c
+++ b/src/my/my.c
@@ -81,6 +81,7 @@ GNUNET_MY_exec_prepared (struct GNUNET_MYSQL_Context *mc,
81 GNUNET_MYSQL_statements_invalidate (mc); 81 GNUNET_MYSQL_statements_invalidate (mc);
82 return GNUNET_SYSERR; 82 return GNUNET_SYSERR;
83 } 83 }
84
84 } 85 }
85 if (mysql_stmt_execute (stmt)) 86 if (mysql_stmt_execute (stmt))
86 { 87 {
@@ -91,6 +92,7 @@ GNUNET_MY_exec_prepared (struct GNUNET_MYSQL_Context *mc,
91 GNUNET_MYSQL_statements_invalidate (mc); 92 GNUNET_MYSQL_statements_invalidate (mc);
92 return GNUNET_SYSERR; 93 return GNUNET_SYSERR;
93 } 94 }
95
94 return GNUNET_OK; 96 return GNUNET_OK;
95} 97}
96 98