Skip to content

Commit

Permalink
Merge pull request #48 from tiobe/tiobe_fixes
Browse files Browse the repository at this point in the history
Add support for COMMIT and ROLLBACK statements
  • Loading branch information
mariuz authored Mar 11, 2020
2 parents 6e8b83b + 431bd08 commit bd53ff4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dbdimp.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,9 +955,12 @@ int dbd_st_prepare(SV *sth, imp_sth_t *imp_sth, char *statement, SV *attribs)
break;

case isc_info_sql_stmt_ddl:
case isc_info_sql_stmt_set_generator:
case isc_info_sql_stmt_set_generator:
case isc_info_sql_stmt_exec_procedure:
case isc_info_sql_stmt_savepoint:
case isc_info_sql_stmt_start_trans:
case isc_info_sql_stmt_commit:
case isc_info_sql_stmt_rollback:
/* no count_item to gather */
break;

Expand All @@ -966,9 +969,6 @@ int dbd_st_prepare(SV *sth, imp_sth_t *imp_sth, char *statement, SV *attribs)
*/
case isc_info_sql_stmt_get_segment:
case isc_info_sql_stmt_put_segment:
case isc_info_sql_stmt_start_trans:
case isc_info_sql_stmt_commit:
case isc_info_sql_stmt_rollback:
default:
do_error(sth, 10, "Statement type is not implemented in this version of DBD::Firebird");
return FALSE;
Expand Down

0 comments on commit bd53ff4

Please sign in to comment.