X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqtxn.c;h=5fc1e9d5afcf7ebdbff9c6f213db3fa962bbee54;hp=fcf7a4bad5f6ee2f46b34687b20f366dd0a4024d;hb=da7b5981c5ae28504434c492d468913645111d66;hpb=d613997b3072b8093bca3fe9d8aca115e2a579aa diff --git a/src/php_pqtxn.c b/src/php_pqtxn.c index fcf7a4b..5fc1e9d 100644 --- a/src/php_pqtxn.c +++ b/src/php_pqtxn.c @@ -355,7 +355,7 @@ static PHP_METHOD(pqtxn, commit) { if (!obj->intern) { throw_exce(EX_UNINITIALIZED TSRMLS_CC, "pq\\Transacation not initialized"); } else if (!obj->intern->open) { - throw_exce(EX_RUNTIME TSRMLS_CC, "pq\\Transacation already closed"); + throw_exce(EX_RUNTIME TSRMLS_CC, "pq\\Transaction already closed"); } else { PGresult *res; smart_str cmd = {0};