[svn-commits] ivaxer: branch ivaxer/ast_storage r273892 - /team/ivaxer/ast_storage/res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jul 5 08:55:39 CDT 2010


Author: ivaxer
Date: Mon Jul  5 08:55:35 2010
New Revision: 273892

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=273892
Log:
fix a typo (SUCCEEDED corrected to SQL_SUCCEEDED)

Modified:
    team/ivaxer/ast_storage/res/res_storage_odbc.c

Modified: team/ivaxer/ast_storage/res/res_storage_odbc.c
URL: http://svnview.digium.com/svn/asterisk/team/ivaxer/ast_storage/res/res_storage_odbc.c?view=diff&rev=273892&r1=273891&r2=273892
==============================================================================
--- team/ivaxer/ast_storage/res/res_storage_odbc.c (original)
+++ team/ivaxer/ast_storage/res/res_storage_odbc.c Mon Jul  5 08:55:35 2010
@@ -146,7 +146,7 @@
 
 	/* Get the table columns */
 	ret = SQLColumns(stmt, NULL, 0, NULL, 0, (unsigned char *)pvt->tablename, SQL_NTS, (unsigned char *)"%", SQL_NTS);
-	if (!SUCCEEDED(ret)) {
+	if (!SQL_SUCCEEDED(ret)) {
 		ast_log(LOG_ERROR, "Unable to query database columns on table '%s@%s'.  Storage method fails.\n", pvt->tablename, pvt->odbc_class);
 		se_release(st);
 		return NULL;




More information about the svn-commits mailing list