[PHP-DEV] CVS update: php3/functions From: swilliam (php-dev <email protected>)
Date: 12/10/98

Date: Thursday December 10, 1998 @ 13:36
Author: swilliam

Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv3160/php3/functions

Modified Files:
        php3_unified_odbc.h unified_odbc.c
Log Message:
Added configuration information for Empress RDBMS. Note that there are
still outstanding problems with multiple connections to Empress that I am
investigating. I am committing the config information because it should not
affect the rest of the system and I won't have to keep re-applying the info
everytime someone updates the cvs tree.

Index: php3/functions/php3_unified_odbc.h
diff -c php3/functions/php3_unified_odbc.h:1.41 php3/functions/php3_unified_odbc.h:1.42
*** php3/functions/php3_unified_odbc.h:1.41 Mon Dec 7 12:27:41 1998
--- php3/functions/php3_unified_odbc.h Thu Dec 10 13:36:35 1998
***************
*** 29,35 ****
     +----------------------------------------------------------------------+
   */
  
! /* $Id: php3_unified_odbc.h,v 1.41 1998/12/07 17:27:41 shane Exp $ */
  
  #ifndef _UNIFIED_ODBC_H
  #define _UNIFIED_ODBC_H
--- 29,35 ----
     +----------------------------------------------------------------------+
   */
  
! /* $Id: php3_unified_odbc.h,v 1.42 1998/12/10 18:36:35 swilliam Exp $ */
  
  #ifndef _UNIFIED_ODBC_H
  #define _UNIFIED_ODBC_H
***************
*** 77,82 ****
--- 77,87 ----
  # define UODBC_MODULE_ENTRY UODBC_VAR(module_entry)
  # define solid_module_ptr &UODBC_MODULE_ENTRY
  # endif
+
+ #elif HAVE_EMPRESS
+ # include <sql.h>
+ # include <sqlext.h>
+ # define HAVE_SQL_EXTENDED_FETCH 0
  
  #elif HAVE_ADABAS
  #include <WINDOWS.H>
Index: php3/functions/unified_odbc.c
diff -c php3/functions/unified_odbc.c:1.91 php3/functions/unified_odbc.c:1.92
*** php3/functions/unified_odbc.c:1.91 Mon Dec 7 12:27:42 1998
--- php3/functions/unified_odbc.c Thu Dec 10 13:36:35 1998
***************
*** 29,35 ****
     +----------------------------------------------------------------------+
   */
  
! /* $Id: unified_odbc.c,v 1.91 1998/12/07 17:27:42 shane Exp $ */
  
  /* This file is based on the Adabas D extension.
   * Adabas D will no longer be supported as separate module.
--- 29,35 ----
     +----------------------------------------------------------------------+
   */
  
! /* $Id: unified_odbc.c,v 1.92 1998/12/10 18:36:35 swilliam Exp $ */
  
  /* This file is based on the Adabas D extension.
   * Adabas D will no longer be supported as separate module.
***************
*** 407,412 ****
--- 407,414 ----
          php3_printf("Unified ODBC Support active (compiled with IBM DB2)");
  #elif WIN32|WINNT
          php3_printf("Unified ODBC Support active (compiled with win32 ODBC)");
+ #elif HAVE_EMPRESS
+ PUTS("Unified ODBC Support active (compiled with Empress)");
  #else
          php3_printf("Unified ODBC Support active (compiled with unknown library)");
  #endif

--
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>