Skip to content

Commit 0518409

Browse files
committed
Fix Bug: AGMDB_isError() return the wrong result
1 parent 119440a commit 0518409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apache2/ag_mdb/ag_mdb.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,9 +1219,9 @@ const char* AGMDB_getErrorInfo(int error_no){
12191219
*/
12201220
bool AGMDB_isError(int return_code){
12211221
if (return_code < AGMDB_ERROR)
1222-
return true;
1223-
else
12241222
return false;
1223+
else
1224+
return true;
12251225
}
12261226

12271227
/**

0 commit comments

Comments
 (0)