Module: sip-router Branch: janakj/postgres Commit: 8315fcc0a562f404b5a2cd8e054a139b35cacc12 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8315fcc0...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Wed Aug 4 14:26:24 2004 +0000
free_query changed to free_result
---
modules/db_postgres/db_mod.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/modules/db_postgres/db_mod.c b/modules/db_postgres/db_mod.c index bd0601c..435b8eb 100644 --- a/modules/db_postgres/db_mod.c +++ b/modules/db_postgres/db_mod.c @@ -49,15 +49,15 @@ static int mod_init(void);
static cmd_export_t cmds[]={ - {"db_use_table", (cmd_function)use_table, 2, 0, 0}, - {"db_init", (cmd_function)db_init, 1, 0, 0}, - {"db_close", (cmd_function)db_close, 2, 0, 0}, - {"db_query", (cmd_function)db_query, 2, 0, 0}, - {"db_raw_query", (cmd_function)db_raw_query, 2, 0, 0}, - {"db_free_query", (cmd_function)db_free_query, 2, 0, 0}, - {"db_insert", (cmd_function)db_insert, 2, 0, 0}, - {"db_delete", (cmd_function)db_delete, 2, 0, 0}, - {"db_update", (cmd_function)db_update, 2, 0, 0}, + {"db_use_table", (cmd_function)use_table, 2, 0, 0}, + {"db_init", (cmd_function)db_init, 1, 0, 0}, + {"db_close", (cmd_function)db_close, 2, 0, 0}, + {"db_query", (cmd_function)db_query, 2, 0, 0}, + {"db_raw_query", (cmd_function)db_raw_query, 2, 0, 0}, + {"db_free_result", (cmd_function)db_free_query, 2, 0, 0}, + {"db_insert", (cmd_function)db_insert, 2, 0, 0}, + {"db_delete", (cmd_function)db_delete, 2, 0, 0}, + {"db_update", (cmd_function)db_update, 2, 0, 0}, {0,0,0,0,0} };