Skip to content

Commit 6c7e1b0

Browse files
committed
Reverted erroneous change made in previous commits that broke the compilation.
1 parent 3161979 commit 6c7e1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/class/ServerSidePreparedStatement.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ namespace mariadb
328328
{
329329
// Assuming paramset skip is set in the indicator of 1st column
330330
if (bind->u.indicator && *bind->u.indicator == STMT_INDICATOR_IGNORE_ROW) {
331-
return '\0';
331+
return NULL;
332332
}
333333
// We can't let the callback to throw - we have to intercept, as otherwise we are guaranteed to have
334334
// the protocol broken
@@ -360,7 +360,7 @@ namespace mariadb
360360
{
361361
return (my_bool*)&error;
362362
}
363-
return '\0';
363+
return NULL;
364364
}
365365

366366

0 commit comments

Comments
 (0)