From 98b1d4bbf4ddb67919c57072aa4735c79cee055b Mon Sep 17 00:00:00 2001 From: Nikos Mavroyanopoulos Date: Wed, 4 Jul 2001 13:33:11 +0000 Subject: [PATCH] fixes in source documentation --- ext/ovrimos/ovrimos.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/ext/ovrimos/ovrimos.c b/ext/ovrimos/ovrimos.c index 08bb341872..1eec11217f 100644 --- a/ext/ovrimos/ovrimos.c +++ b/ext/ovrimos/ovrimos.c @@ -12,8 +12,10 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - | Authors: Dimitris Souflis , | - | integrated to php by Nikos Mavroyanopoulos | + | Authors: Dimitris Souflis, Nikos Mavroyanopoulos | + | for Ovrimos S.A. | + | | + | Contact support@ovrimos.com for questions regarding this module | +----------------------------------------------------------------------+ */ @@ -24,7 +26,8 @@ #include #include "ext/standard/php_standard.h" #include "ext/standard/info.h" -#include +#include /* ovrimos header + */ #if !defined(WIN32) # define stricmp strcasecmp #endif @@ -36,7 +39,16 @@ PHP_MINFO_FUNCTION(ovrimos) php_printf(""Ovrimos" module
\n"); } -/* Main User Functions */ +/* Main User Functions + */ + +/* ovrimos_connect() currently does not support secure (SSL/TLS) connections. + * As an alternative you can use the unixODBC driver available at + * http://www.ovrimos.com which supports SSL. + * + * Contact support@ovrimos.com for more information. + */ + /* {{{ proto int ovrimos_connect(string host, string db, string user, string password) Connect to an Ovrimos database */ PHP_FUNCTION(ovrimos_connect) @@ -1006,7 +1018,13 @@ PHP_FUNCTION(ovrimos_commit) || arg1->type != IS_LONG) { WRONG_PARAM_COUNT; } + + convert_to_long( arg1); conn = (SQLH) (arg1->value.lval - 1); + /* use of sqlcli 1.1.7 and later versions, + * is recommended due to a bug which prevented proper + * commit. + */ if (!sqlTransactCommit(conn)) { RETURN_FALSE; } -- 2.50.1