Date: 12/31/98
- Next message: alex <email protected>: "[PHP-DEV] Bug #1019: imap_header() not working correctly"
- Previous message: Steve Williams: "Re: [PHP-DEV] 3.0.6 Sporadic Tests"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thursday December 31, 1998 @ 12:26
Author: swilliam
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv27039/functions
Modified Files:
php3_unified_odbc.h
Log Message:
Added unique names option for Empress for use when more than one vendor RBDMS is
to be used with the unified ODBC interface.
Index: php3/functions/php3_unified_odbc.h
diff -c php3/functions/php3_unified_odbc.h:1.44 php3/functions/php3_unified_odbc.h:1.45
*** php3/functions/php3_unified_odbc.h:1.44 Mon Dec 28 14:01:43 1998
--- php3/functions/php3_unified_odbc.h Thu Dec 31 12:26:34 1998
***************
*** 29,35 ****
+----------------------------------------------------------------------+
*/
! /* $Id: php3_unified_odbc.h,v 1.44 1998/12/28 19:01:43 shane Exp $ */
#ifndef _UNIFIED_ODBC_H
#define _UNIFIED_ODBC_H
--- 29,35 ----
+----------------------------------------------------------------------+
*/
! /* $Id: php3_unified_odbc.h,v 1.45 1998/12/31 17:26:34 swilliam Exp $ */
#ifndef _UNIFIED_ODBC_H
#define _UNIFIED_ODBC_H
***************
*** 82,87 ****
--- 82,102 ----
# include <sql.h>
# include <sqlext.h>
# define HAVE_SQL_EXTENDED_FETCH 0
+ # if defined(UODBC_UNIQUE_NAMES)
+ # define UODBC_TYPE empress
+ # define UODBC_NAME "empress"
+ # define UODBC_FE(name, arg_types) UODBC_NAMED_FE(empress_##name, php3_empress_##name, arg_types)
+ # define UODBC_FE_ALIAS(php_name, name, arg_types) UODBC_NAMED_FE(empress_##php_name, php3_empress_##name, arg_types)
+ # define UODBC_FUNCTION(name) UODBC_NAMED_FUNCTION(php3_empress_##name)
+ # define UODBC_FNAME(name) php3i_empress_##name
+ # define ODBC_INI_VAR_NAME(name) #name
+ # define ODBC_INI_VAR(a) ODBC_INI_VAR_NAME(empress.##a)
+ # define UODBC_VAR_NAME(name) name
+ # define UODBC_VAR(a) UODBC_VAR_NAME(empress_##a)
+ # define PHP3_UODBC_VAR(a) UODBC_VAR_NAME(php3_empress_##a)
+ # define UODBC_MODULE_ENTRY UODBC_VAR(module_entry)
+ # define empress_module_ptr &UODBC_MODULE_ENTRY
+ # endif
#elif HAVE_ADABAS
#include <WINDOWS.H>
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: alex <email protected>: "[PHP-DEV] Bug #1019: imap_header() not working correctly"
- Previous message: Steve Williams: "Re: [PHP-DEV] 3.0.6 Sporadic Tests"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

