Skip to content

Commit 6a4704c

Browse files
committed
Migrate ext/odbc resources to opaque objects
1 parent 4a0ec3d commit 6a4704c

File tree

6 files changed

+912
-931
lines changed

6 files changed

+912
-931
lines changed

Zend/Optimizer/zend_func_infos.h

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -308,31 +308,6 @@ static const func_info_t func_infos[] = {
308308
F1("mysqli_stat", MAY_BE_STRING|MAY_BE_FALSE),
309309
F1("mysqli_store_result", MAY_BE_OBJECT|MAY_BE_FALSE),
310310
F1("mysqli_use_result", MAY_BE_OBJECT|MAY_BE_FALSE),
311-
FN("odbc_prepare", MAY_BE_RESOURCE|MAY_BE_FALSE),
312-
FN("odbc_exec", MAY_BE_RESOURCE|MAY_BE_FALSE),
313-
FN("odbc_connect", MAY_BE_RESOURCE|MAY_BE_FALSE),
314-
FN("odbc_pconnect", MAY_BE_RESOURCE|MAY_BE_FALSE),
315-
FN("odbc_tables", MAY_BE_RESOURCE|MAY_BE_FALSE),
316-
FN("odbc_columns", MAY_BE_RESOURCE|MAY_BE_FALSE),
317-
FN("odbc_gettypeinfo", MAY_BE_RESOURCE|MAY_BE_FALSE),
318-
FN("odbc_primarykeys", MAY_BE_RESOURCE|MAY_BE_FALSE),
319-
#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)
320-
FN("odbc_procedurecolumns", MAY_BE_RESOURCE|MAY_BE_FALSE),
321-
#endif
322-
#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)
323-
FN("odbc_procedures", MAY_BE_RESOURCE|MAY_BE_FALSE),
324-
#endif
325-
#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) && !defined(HAVE_SOLID_35)
326-
FN("odbc_foreignkeys", MAY_BE_RESOURCE|MAY_BE_FALSE),
327-
#endif
328-
FN("odbc_specialcolumns", MAY_BE_RESOURCE|MAY_BE_FALSE),
329-
FN("odbc_statistics", MAY_BE_RESOURCE|MAY_BE_FALSE),
330-
#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) &&!defined(HAVE_SOLID_35)
331-
FN("odbc_tableprivileges", MAY_BE_RESOURCE|MAY_BE_FALSE),
332-
#endif
333-
#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30) &&!defined(HAVE_SOLID_35)
334-
FN("odbc_columnprivileges", MAY_BE_RESOURCE|MAY_BE_FALSE),
335-
#endif
336311
F1("opcache_get_status", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_ANY|MAY_BE_FALSE),
337312
F1("opcache_get_configuration", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_ANY|MAY_BE_FALSE),
338313
F1("openssl_x509_parse", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_ARRAY_OF_STRING|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_FALSE),

0 commit comments

Comments
 (0)