summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/info.c')
-rw-r--r--src/interfaces/odbc/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/odbc/info.c b/src/interfaces/odbc/info.c
index 4550a8b92c6..84092b98afa 100644
--- a/src/interfaces/odbc/info.c
+++ b/src/interfaces/odbc/info.c
@@ -173,7 +173,7 @@ RETCODE result;
break;
case SQL_DATA_SOURCE_READ_ONLY: /* ODBC 1.0 */
- p = CC_is_readonly(conn) ? "Y" : "N";
+ p = CC_is_onlyread(conn) ? "Y" : "N";
break;
case SQL_DATABASE_NAME: /* Support for old ODBC 1.0 Apps */