mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'w36_MDL-35184_m24_adodb' of git://github.com/skodak/moodle
This commit is contained in:
commit
e246a8056e
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
|
||||
@version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
@version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Latest version is available at http://adodb.sourceforge.net
|
||||
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
|
@ -8,7 +8,7 @@ $ADODB_INCLUDED_CSV = 1;
|
||||
|
||||
/*
|
||||
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -6,7 +6,7 @@ global $ADODB_INCLUDED_LIB;
|
||||
$ADODB_INCLUDED_LIB = 1;
|
||||
|
||||
/*
|
||||
@version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
@version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -11,7 +11,7 @@ if (empty($ADODB_INCLUDED_CSV)) include(ADODB_DIR.'/adodb-csvlib.inc.php');
|
||||
|
||||
/*
|
||||
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -14,7 +14,7 @@
|
||||
/**
|
||||
\mainpage
|
||||
|
||||
@version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
@version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
|
||||
Released under both BSD license and Lesser GPL library license. You can choose which license
|
||||
you prefer.
|
||||
@ -177,7 +177,7 @@
|
||||
/**
|
||||
* ADODB version as a string.
|
||||
*/
|
||||
$ADODB_vers = 'V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. Released BSD & LGPL.';
|
||||
$ADODB_vers = 'V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. Released BSD & LGPL.';
|
||||
|
||||
/**
|
||||
* Determines whether recordset->RecordCount() is used.
|
||||
@ -3499,23 +3499,22 @@ http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_1
|
||||
*
|
||||
* $upper 0 = lowercase, 1 = uppercase, 2 = whatever is returned by FetchField
|
||||
*/
|
||||
function GetRowAssoc($upper=1)
|
||||
function GetRowAssoc($upper=1)
|
||||
{
|
||||
$record = array();
|
||||
// if (!$this->fields) return $record;
|
||||
|
||||
if (!$this->bind) {
|
||||
if (!$this->bind) {
|
||||
$this->GetAssocKeys($upper);
|
||||
}
|
||||
|
||||
foreach($this->bind as $k => $v) {
|
||||
$record[$k] = $this->fields[$v];
|
||||
if( isset( $this->fields[$v] ) ) {
|
||||
$record[$k] = $this->fields[$v];
|
||||
} else if (isset($this->fields[$k])) {
|
||||
$record[$k] = $this->fields[$k];
|
||||
}
|
||||
}
|
||||
|
||||
return $record;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Clean up recordset
|
||||
*
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 (jlim#natsoft.com). All rights reserved.
|
||||
|
||||
This is a version of the ADODB driver for DB2. It uses the 'ibm_db2' PECL extension
|
||||
for PHP (http://pecl.php.net/package/ibm_db2), which in turn requires DB2 V8.2.2 or
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
@version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
@version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
@ -130,6 +130,7 @@ class ADODB_mssqlnative extends ADOConnection {
|
||||
var $uniqueOrderBy = true;
|
||||
var $_bindInputArray = true;
|
||||
var $_dropSeqSQL = "drop table %s";
|
||||
var $connectionInfo = array();
|
||||
|
||||
function ADODB_mssqlnative()
|
||||
{
|
||||
@ -378,7 +379,10 @@ class ADODB_mssqlnative extends ADOConnection {
|
||||
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)
|
||||
{
|
||||
if (!function_exists('sqlsrv_connect')) return null;
|
||||
$connectionInfo = array("Database"=>$argDatabasename,'UID'=>$argUsername,'PWD'=>$argPassword);
|
||||
$connectionInfo = $this->connectionInfo;
|
||||
$connectionInfo["Database"]=$argDatabasename;
|
||||
$connectionInfo["UID"]=$argUsername;
|
||||
$connectionInfo["PWD"]=$argPassword;
|
||||
if ($this->debug) error_log("<hr>connecting... hostname: $argHostname params: ".var_export($connectionInfo,true));
|
||||
//if ($this->debug) error_log("<hr>_connectionID before: ".serialize($this->_connectionID));
|
||||
if(!($this->_connectionID = sqlsrv_connect($argHostname,$connectionInfo))) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
@ -36,6 +36,7 @@ class ADODB_mysql extends ADOConnection {
|
||||
var $forceNewConnect = false;
|
||||
var $poorAffectedRows = true;
|
||||
var $clientFlags = 0;
|
||||
var $charSet = '';
|
||||
var $substr = "substring";
|
||||
var $nameQuote = '`'; /// string to use to quote identifiers and names
|
||||
var $compat323 = false; // true if compat with mysql 3.23
|
||||
@ -44,7 +45,25 @@ class ADODB_mysql extends ADOConnection {
|
||||
{
|
||||
if (defined('ADODB_EXTENSION')) $this->rsPrefix .= 'ext_';
|
||||
}
|
||||
|
||||
|
||||
|
||||
// SetCharSet - switch the client encoding
|
||||
function SetCharSet($charset_name)
|
||||
{
|
||||
if (!function_exists('mysql_set_charset'))
|
||||
return false;
|
||||
|
||||
if ($this->charSet !== $charset_name) {
|
||||
$ok = @mysql_set_charset($charset_name,$this->_connectionID);
|
||||
if ($ok) {
|
||||
$this->charSet = $charset_name;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function ServerInfo()
|
||||
{
|
||||
$arr['description'] = ADOConnection::GetOne("select version()");
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
|
||||
First cut at the Netezza Driver by Josh Eldridge joshuae74#hotmail.com
|
||||
Based on the previous postgres drivers.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
|
||||
version V5.16 26 Mar 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
version V5.17 17 May 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
@ -88,7 +88,7 @@ END;
|
||||
var $connectSID = false;
|
||||
var $_bind = false;
|
||||
var $_nestedSQL = true;
|
||||
var $_hasOCIFetchStatement = false;
|
||||
var $_hasOciFetchStatement = false;
|
||||
var $_getarray = false; // currently not working
|
||||
var $leftOuter = ''; // oracle wierdness, $col = $value (+) for LEFT OUTER, $col (+)= $value for RIGHT OUTER
|
||||
var $session_sharing_force_blob = false; // alter session on updateblob if set to true
|
||||
@ -104,7 +104,7 @@ END;
|
||||
|
||||
function ADODB_oci8()
|
||||
{
|
||||
$this->_hasOCIFetchStatement = ADODB_PHPVER >= 0x4200;
|
||||
$this->_hasOciFetchStatement = ADODB_PHPVER >= 0x4200;
|
||||
if (defined('ADODB_EXTENSION')) $this->rsPrefix .= 'ext_';
|
||||
}
|
||||
|
||||
@ -201,7 +201,7 @@ NATSOFT.DOMAIN =
|
||||
*/
|
||||
function _connect($argHostname, $argUsername, $argPassword, $argDatabasename,$mode=0)
|
||||
{
|
||||
if (!function_exists('OCIPLogon')) return null;
|
||||
if (!function_exists('oci_pconnect')) return null;
|
||||
#adodb_backtrace();
|
||||
|
||||
$this->_errorMsg = false;
|
||||
@ -235,22 +235,22 @@ NATSOFT.DOMAIN =
|
||||
//if ($argHostname) print "<p>Connect: 1st argument should be left blank for $this->databaseType</p>";
|
||||
if ($mode==1) {
|
||||
$this->_connectionID = ($this->charSet) ?
|
||||
OCIPLogon($argUsername,$argPassword, $argDatabasename,$this->charSet)
|
||||
oci_pconnect($argUsername,$argPassword, $argDatabasename,$this->charSet)
|
||||
:
|
||||
OCIPLogon($argUsername,$argPassword, $argDatabasename)
|
||||
oci_pconnect($argUsername,$argPassword, $argDatabasename)
|
||||
;
|
||||
if ($this->_connectionID && $this->autoRollback) OCIrollback($this->_connectionID);
|
||||
if ($this->_connectionID && $this->autoRollback) oci_rollback($this->_connectionID);
|
||||
} else if ($mode==2) {
|
||||
$this->_connectionID = ($this->charSet) ?
|
||||
OCINLogon($argUsername,$argPassword, $argDatabasename,$this->charSet)
|
||||
oci_new_connect($argUsername,$argPassword, $argDatabasename,$this->charSet)
|
||||
:
|
||||
OCINLogon($argUsername,$argPassword, $argDatabasename);
|
||||
oci_new_connect($argUsername,$argPassword, $argDatabasename);
|
||||
|
||||
} else {
|
||||
$this->_connectionID = ($this->charSet) ?
|
||||
OCILogon($argUsername,$argPassword, $argDatabasename,$this->charSet)
|
||||
oci_connect($argUsername,$argPassword, $argDatabasename,$this->charSet)
|
||||
:
|
||||
OCILogon($argUsername,$argPassword, $argDatabasename);
|
||||
oci_connect($argUsername,$argPassword, $argDatabasename);
|
||||
}
|
||||
if (!$this->_connectionID) return false;
|
||||
if ($this->_initdate) {
|
||||
@ -259,7 +259,7 @@ NATSOFT.DOMAIN =
|
||||
|
||||
// looks like:
|
||||
// Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option JServer Release 8.1.7.0.0 - Production
|
||||
// $vers = OCIServerVersion($this->_connectionID);
|
||||
// $vers = oci_server_version($this->_connectionID);
|
||||
// if (strpos($vers,'8i') !== false) $this->ansiOuter = true;
|
||||
return true;
|
||||
}
|
||||
@ -267,7 +267,7 @@ NATSOFT.DOMAIN =
|
||||
function ServerInfo()
|
||||
{
|
||||
$arr['compat'] = $this->GetOne('select value from sys.database_compatible_level');
|
||||
$arr['description'] = @OCIServerVersion($this->_connectionID);
|
||||
$arr['description'] = @oci_server_version($this->_connectionID);
|
||||
$arr['version'] = ADOConnection::_findvers($arr['description']);
|
||||
return $arr;
|
||||
}
|
||||
@ -285,7 +285,7 @@ NATSOFT.DOMAIN =
|
||||
|
||||
function _affectedrows()
|
||||
{
|
||||
if (is_resource($this->_stmt)) return @OCIRowCount($this->_stmt);
|
||||
if (is_resource($this->_stmt)) return @oci_num_rows($this->_stmt);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -386,6 +386,13 @@ NATSOFT.DOMAIN =
|
||||
|
||||
$false = false;
|
||||
$rs = $this->Execute(sprintf("SELECT * FROM ALL_CONSTRAINTS WHERE UPPER(TABLE_NAME)='%s' AND CONSTRAINT_TYPE='P'",$table));
|
||||
if (!is_object($rs)) {
|
||||
if (isset($savem))
|
||||
$this->SetFetchMode($savem);
|
||||
$ADODB_FETCH_MODE = $save;
|
||||
return $false;
|
||||
}
|
||||
|
||||
if ($row = $rs->FetchRow())
|
||||
$primary_key = $row[1]; //constraint_name
|
||||
|
||||
@ -451,7 +458,7 @@ NATSOFT.DOMAIN =
|
||||
if (!$ok) return $this->RollbackTrans();
|
||||
|
||||
if ($this->transCnt) $this->transCnt -= 1;
|
||||
$ret = OCIcommit($this->_connectionID);
|
||||
$ret = oci_commit($this->_connectionID);
|
||||
$this->_commit = OCI_COMMIT_ON_SUCCESS;
|
||||
$this->autoCommit = true;
|
||||
return $ret;
|
||||
@ -461,7 +468,7 @@ NATSOFT.DOMAIN =
|
||||
{
|
||||
if ($this->transOff) return true;
|
||||
if ($this->transCnt) $this->transCnt -= 1;
|
||||
$ret = OCIrollback($this->_connectionID);
|
||||
$ret = oci_rollback($this->_connectionID);
|
||||
$this->_commit = OCI_COMMIT_ON_SUCCESS;
|
||||
$this->autoCommit = true;
|
||||
return $ret;
|
||||
@ -477,10 +484,10 @@ NATSOFT.DOMAIN =
|
||||
{
|
||||
if ($this->_errorMsg !== false) return $this->_errorMsg;
|
||||
|
||||
if (is_resource($this->_stmt)) $arr = @OCIError($this->_stmt);
|
||||
if (is_resource($this->_stmt)) $arr = @oci_error($this->_stmt);
|
||||
if (empty($arr)) {
|
||||
if (is_resource($this->_connectionID)) $arr = @OCIError($this->_connectionID);
|
||||
else $arr = @OCIError();
|
||||
if (is_resource($this->_connectionID)) $arr = @oci_error($this->_connectionID);
|
||||
else $arr = @oci_error();
|
||||
if ($arr === false) return '';
|
||||
}
|
||||
$this->_errorMsg = $arr['message'];
|
||||
@ -492,10 +499,10 @@ NATSOFT.DOMAIN =
|
||||
{
|
||||
if ($this->_errorCode !== false) return $this->_errorCode;
|
||||
|
||||
if (is_resource($this->_stmt)) $arr = @OCIError($this->_stmt);
|
||||
if (is_resource($this->_stmt)) $arr = @oci_error($this->_stmt);
|
||||
if (empty($arr)) {
|
||||
$arr = @OCIError($this->_connectionID);
|
||||
if ($arr == false) $arr = @OCIError();
|
||||
$arr = @oci_error($this->_connectionID);
|
||||
if ($arr == false) $arr = @oci_error();
|
||||
if ($arr == false) return '';
|
||||
}
|
||||
|
||||
@ -651,34 +658,34 @@ NATSOFT.DOMAIN =
|
||||
foreach($inputarr as $k => $v) {
|
||||
if (is_array($v)) {
|
||||
if (sizeof($v) == 2) // suggested by g.giunta@libero.
|
||||
OCIBindByName($stmt,":$k",$inputarr[$k][0],$v[1]);
|
||||
oci_bind_by_name($stmt,":$k",$inputarr[$k][0],$v[1]);
|
||||
else
|
||||
OCIBindByName($stmt,":$k",$inputarr[$k][0],$v[1],$v[2]);
|
||||
oci_bind_by_name($stmt,":$k",$inputarr[$k][0],$v[1],$v[2]);
|
||||
} else {
|
||||
$len = -1;
|
||||
if ($v === ' ') $len = 1;
|
||||
if (isset($bindarr)) { // is prepared sql, so no need to ocibindbyname again
|
||||
if (isset($bindarr)) { // is prepared sql, so no need to oci_bind_by_name again
|
||||
$bindarr[$k] = $v;
|
||||
} else { // dynamic sql, so rebind every time
|
||||
OCIBindByName($stmt,":$k",$inputarr[$k],$len);
|
||||
oci_bind_by_name($stmt,":$k",$inputarr[$k],$len);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!OCIExecute($stmt, OCI_DEFAULT)) {
|
||||
OCIFreeStatement($stmt);
|
||||
if (!oci_execute($stmt, OCI_DEFAULT)) {
|
||||
oci_free_statement($stmt);
|
||||
return $false;
|
||||
}
|
||||
|
||||
$ncols = OCINumCols($stmt);
|
||||
$ncols = oci_num_fields($stmt);
|
||||
for ( $i = 1; $i <= $ncols; $i++ ) {
|
||||
$cols[] = '"'.OCIColumnName($stmt, $i).'"';
|
||||
$cols[] = '"'.oci_field_name($stmt, $i).'"';
|
||||
}
|
||||
$result = false;
|
||||
|
||||
OCIFreeStatement($stmt);
|
||||
oci_free_statement($stmt);
|
||||
$fields = implode(',', $cols);
|
||||
if ($nrows <= 0) $nrows = 999999999999;
|
||||
else $nrows += $offset;
|
||||
@ -741,7 +748,7 @@ NATSOFT.DOMAIN =
|
||||
else
|
||||
$sql = "UPDATE $table set $column=EMPTY_{$blobtype}() WHERE $where RETURNING $column INTO :blob";
|
||||
|
||||
$desc = OCINewDescriptor($this->_connectionID, OCI_D_LOB);
|
||||
$desc = oci_new_descriptor($this->_connectionID, OCI_D_LOB);
|
||||
$arr['blob'] = array($desc,-1,$type);
|
||||
if ($this->session_sharing_force_blob) $this->Execute('ALTER SESSION SET CURSOR_SHARING=EXACT');
|
||||
$commit = $this->autoCommit;
|
||||
@ -772,7 +779,7 @@ NATSOFT.DOMAIN =
|
||||
else
|
||||
$sql = "UPDATE $table set $column=EMPTY_{$blobtype}() WHERE $where RETURNING $column INTO :blob";
|
||||
|
||||
$desc = OCINewDescriptor($this->_connectionID, OCI_D_LOB);
|
||||
$desc = oci_new_descriptor($this->_connectionID, OCI_D_LOB);
|
||||
$arr['blob'] = array($desc,-1,$type);
|
||||
|
||||
$this->BeginTrans();
|
||||
@ -873,12 +880,12 @@ NATSOFT.DOMAIN =
|
||||
{
|
||||
static $BINDNUM = 0;
|
||||
|
||||
$stmt = OCIParse($this->_connectionID,$sql);
|
||||
$stmt = oci_parse($this->_connectionID,$sql);
|
||||
|
||||
if (!$stmt) {
|
||||
$this->_errorMsg = false;
|
||||
$this->_errorCode = false;
|
||||
$arr = @OCIError($this->_connectionID);
|
||||
$arr = @oci_error($this->_connectionID);
|
||||
if ($arr === false) return false;
|
||||
|
||||
$this->_errorMsg = $arr['message'];
|
||||
@ -888,9 +895,9 @@ NATSOFT.DOMAIN =
|
||||
|
||||
$BINDNUM += 1;
|
||||
|
||||
$sttype = @OCIStatementType($stmt);
|
||||
$sttype = @oci_statement_type($stmt);
|
||||
if ($sttype == 'BEGIN' || $sttype == 'DECLARE') {
|
||||
return array($sql,$stmt,0,$BINDNUM, ($cursor) ? OCINewCursor($this->_connectionID) : false);
|
||||
return array($sql,$stmt,0,$BINDNUM, ($cursor) ? oci_new_cursor($this->_connectionID) : false);
|
||||
}
|
||||
return array($sql,$stmt,0,$BINDNUM);
|
||||
}
|
||||
@ -912,7 +919,7 @@ NATSOFT.DOMAIN =
|
||||
function ExecuteCursor($sql,$cursorName='rs',$params=false)
|
||||
{
|
||||
if (is_array($sql)) $stmt = $sql;
|
||||
else $stmt = ADODB_oci8::Prepare($sql,true); # true to allocate OCINewCursor
|
||||
else $stmt = ADODB_oci8::Prepare($sql,true); # true to allocate oci_new_cursor
|
||||
|
||||
if (is_array($stmt) && sizeof($stmt) >= 5) {
|
||||
$hasref = true;
|
||||
@ -928,7 +935,7 @@ NATSOFT.DOMAIN =
|
||||
|
||||
$rs = $this->Execute($stmt);
|
||||
if ($rs) {
|
||||
if ($rs->databaseType == 'array') OCIFreeCursor($stmt[4]);
|
||||
if ($rs->databaseType == 'array') oci_free_cursor($stmt[4]);
|
||||
else if ($hasref) $rs->_refcursor = $stmt[4];
|
||||
}
|
||||
return $rs;
|
||||
@ -955,13 +962,13 @@ NATSOFT.DOMAIN =
|
||||
|
||||
Some timings:
|
||||
** Test table has 3 cols, and 1 index. Test to insert 1000 records
|
||||
Time 0.6081s (1644.60 inserts/sec) with direct OCIParse/OCIExecute
|
||||
Time 0.6081s (1644.60 inserts/sec) with direct oci_parse/oci_execute
|
||||
Time 0.6341s (1577.16 inserts/sec) with ADOdb Prepare/Bind/Execute
|
||||
Time 1.5533s ( 643.77 inserts/sec) with pure SQL using Execute
|
||||
|
||||
Now if PHP only had batch/bulk updating like Java or PL/SQL...
|
||||
|
||||
Note that the order of parameters differs from OCIBindByName,
|
||||
Note that the order of parameters differs from oci_bind_by_name,
|
||||
because we default the names to :0, :1, :2
|
||||
*/
|
||||
function Bind(&$stmt,&$var,$size=4000,$type=false,$name=false,$isOutput=false)
|
||||
@ -970,12 +977,12 @@ NATSOFT.DOMAIN =
|
||||
if (!is_array($stmt)) return false;
|
||||
|
||||
if (($type == OCI_B_CURSOR) && sizeof($stmt) >= 5) {
|
||||
return OCIBindByName($stmt[1],":".$name,$stmt[4],$size,$type);
|
||||
return oci_bind_by_name($stmt[1],":".$name,$stmt[4],$size,$type);
|
||||
}
|
||||
|
||||
if ($name == false) {
|
||||
if ($type !== false) $rez = OCIBindByName($stmt[1],":".$stmt[2],$var,$size,$type);
|
||||
else $rez = OCIBindByName($stmt[1],":".$stmt[2],$var,$size); // +1 byte for null terminator
|
||||
if ($type !== false) $rez = oci_bind_by_name($stmt[1],":".$stmt[2],$var,$size,$type);
|
||||
else $rez = oci_bind_by_name($stmt[1],":".$stmt[2],$var,$size); // +1 byte for null terminator
|
||||
$stmt[2] += 1;
|
||||
} else if (oci_lob_desc($type)) {
|
||||
if ($this->debug) {
|
||||
@ -983,11 +990,11 @@ NATSOFT.DOMAIN =
|
||||
}
|
||||
//we have to create a new Descriptor here
|
||||
$numlob = count($this->_refLOBs);
|
||||
$this->_refLOBs[$numlob]['LOB'] = OCINewDescriptor($this->_connectionID, oci_lob_desc($type));
|
||||
$this->_refLOBs[$numlob]['LOB'] = oci_new_descriptor($this->_connectionID, oci_lob_desc($type));
|
||||
$this->_refLOBs[$numlob]['TYPE'] = $isOutput;
|
||||
|
||||
$tmp = $this->_refLOBs[$numlob]['LOB'];
|
||||
$rez = OCIBindByName($stmt[1], ":".$name, $tmp, -1, $type);
|
||||
$rez = oci_bind_by_name($stmt[1], ":".$name, $tmp, -1, $type);
|
||||
if ($this->debug) {
|
||||
ADOConnection::outp("<b>Bind</b>: descriptor has been allocated, var (".$name.") binded");
|
||||
}
|
||||
@ -1008,8 +1015,8 @@ NATSOFT.DOMAIN =
|
||||
if ($this->debug)
|
||||
ADOConnection::outp("<b>Bind</b>: name = $name");
|
||||
|
||||
if ($type !== false) $rez = OCIBindByName($stmt[1],":".$name,$var,$size,$type);
|
||||
else $rez = OCIBindByName($stmt[1],":".$name,$var,$size); // +1 byte for null terminator
|
||||
if ($type !== false) $rez = oci_bind_by_name($stmt[1],":".$name,$var,$size,$type);
|
||||
else $rez = oci_bind_by_name($stmt[1],":".$name,$var,$size); // +1 byte for null terminator
|
||||
}
|
||||
|
||||
return $rez;
|
||||
@ -1034,7 +1041,7 @@ NATSOFT.DOMAIN =
|
||||
@param [$maxLen] Holds an maximum length of the variable.
|
||||
@param [$type] The data type of $var. Legal values depend on driver.
|
||||
|
||||
See OCIBindByName documentation at php.net.
|
||||
See oci_bind_by_name documentation at php.net.
|
||||
*/
|
||||
function Parameter(&$stmt,&$var,$name,$isOutput=false,$maxLen=4000,$type=false)
|
||||
{
|
||||
@ -1066,7 +1073,7 @@ NATSOFT.DOMAIN =
|
||||
if (is_array($sql)) { // is prepared sql
|
||||
$stmt = $sql[1];
|
||||
|
||||
// we try to bind to permanent array, so that OCIBindByName is persistent
|
||||
// we try to bind to permanent array, so that oci_bind_by_name is persistent
|
||||
// and carried out once only - note that max array element size is 4000 chars
|
||||
if (is_array($inputarr)) {
|
||||
$bindpos = $sql[3];
|
||||
@ -1078,27 +1085,27 @@ NATSOFT.DOMAIN =
|
||||
$bindarr = array();
|
||||
foreach($inputarr as $k => $v) {
|
||||
$bindarr[$k] = $v;
|
||||
OCIBindByName($stmt,":$k",$bindarr[$k],is_string($v) && strlen($v)>4000 ? -1 : 4000);
|
||||
oci_bind_by_name($stmt,":$k",$bindarr[$k],is_string($v) && strlen($v)>4000 ? -1 : 4000);
|
||||
}
|
||||
$this->_bind[$bindpos] = $bindarr;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$stmt=OCIParse($this->_connectionID,$sql);
|
||||
$stmt=oci_parse($this->_connectionID,$sql);
|
||||
}
|
||||
|
||||
$this->_stmt = $stmt;
|
||||
if (!$stmt) return false;
|
||||
|
||||
if (defined('ADODB_PREFETCH_ROWS')) @OCISetPrefetch($stmt,ADODB_PREFETCH_ROWS);
|
||||
if (defined('ADODB_PREFETCH_ROWS')) @oci_set_prefetch($stmt,ADODB_PREFETCH_ROWS);
|
||||
|
||||
if (is_array($inputarr)) {
|
||||
foreach($inputarr as $k => $v) {
|
||||
if (is_array($v)) {
|
||||
if (sizeof($v) == 2) // suggested by g.giunta@libero.
|
||||
OCIBindByName($stmt,":$k",$inputarr[$k][0],$v[1]);
|
||||
oci_bind_by_name($stmt,":$k",$inputarr[$k][0],$v[1]);
|
||||
else
|
||||
OCIBindByName($stmt,":$k",$inputarr[$k][0],$v[1],$v[2]);
|
||||
oci_bind_by_name($stmt,":$k",$inputarr[$k][0],$v[1],$v[2]);
|
||||
|
||||
if ($this->debug==99) {
|
||||
if (is_object($v[0]))
|
||||
@ -1110,10 +1117,10 @@ NATSOFT.DOMAIN =
|
||||
} else {
|
||||
$len = -1;
|
||||
if ($v === ' ') $len = 1;
|
||||
if (isset($bindarr)) { // is prepared sql, so no need to ocibindbyname again
|
||||
if (isset($bindarr)) { // is prepared sql, so no need to oci_bind_by_name again
|
||||
$bindarr[$k] = $v;
|
||||
} else { // dynamic sql, so rebind every time
|
||||
OCIBindByName($stmt,":$k",$inputarr[$k],$len);
|
||||
oci_bind_by_name($stmt,":$k",$inputarr[$k],$len);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1121,8 +1128,8 @@ NATSOFT.DOMAIN =
|
||||
|
||||
$this->_errorMsg = false;
|
||||
$this->_errorCode = false;
|
||||
if (OCIExecute($stmt,$this->_commit)) {
|
||||
//OCIInternalDebug(1);
|
||||
if (oci_execute($stmt,$this->_commit)) {
|
||||
|
||||
if (count($this -> _refLOBs) > 0) {
|
||||
|
||||
foreach ($this -> _refLOBs as $key => $value) {
|
||||
@ -1144,7 +1151,7 @@ NATSOFT.DOMAIN =
|
||||
}
|
||||
}
|
||||
|
||||
switch (@OCIStatementType($stmt)) {
|
||||
switch (@oci_statement_type($stmt)) {
|
||||
case "SELECT":
|
||||
return $stmt;
|
||||
|
||||
@ -1153,20 +1160,20 @@ NATSOFT.DOMAIN =
|
||||
if (is_array($sql) && !empty($sql[4])) {
|
||||
$cursor = $sql[4];
|
||||
if (is_resource($cursor)) {
|
||||
$ok = OCIExecute($cursor);
|
||||
$ok = oci_execute($cursor);
|
||||
return $cursor;
|
||||
}
|
||||
return $stmt;
|
||||
} else {
|
||||
if (is_resource($stmt)) {
|
||||
OCIFreeStatement($stmt);
|
||||
oci_free_statement($stmt);
|
||||
return true;
|
||||
}
|
||||
return $stmt;
|
||||
}
|
||||
break;
|
||||
default :
|
||||
// ociclose -- no because it could be used in a LOB?
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@ -1204,14 +1211,14 @@ NATSOFT.DOMAIN =
|
||||
{
|
||||
if (!$this->_connectionID) return;
|
||||
|
||||
if (!$this->autoCommit) OCIRollback($this->_connectionID);
|
||||
if (!$this->autoCommit) oci_rollback($this->_connectionID);
|
||||
if (count($this->_refLOBs) > 0) {
|
||||
foreach ($this ->_refLOBs as $key => $value) {
|
||||
$this->_refLOBs[$key]['LOB']->free();
|
||||
unset($this->_refLOBs[$key]);
|
||||
}
|
||||
}
|
||||
OCILogoff($this->_connectionID);
|
||||
oci_close($this->_connectionID);
|
||||
|
||||
$this->_stmt = false;
|
||||
$this->_connectionID = false;
|
||||
@ -1383,7 +1390,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
/*
|
||||
// based on idea by Gaetano Giunta to detect unusual oracle errors
|
||||
// see http://phplens.com/lens/lensforum/msgs.php?id=6771
|
||||
$err = OCIError($this->_queryID);
|
||||
$err = oci_error($this->_queryID);
|
||||
if ($err && $this->connection->debug) ADOConnection::outp($err);
|
||||
*/
|
||||
|
||||
@ -1402,7 +1409,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
function _initrs()
|
||||
{
|
||||
$this->_numOfRows = -1;
|
||||
$this->_numOfFields = OCInumcols($this->_queryID);
|
||||
$this->_numOfFields = oci_num_fields($this->_queryID);
|
||||
if ($this->_numOfFields>0) {
|
||||
$this->_fieldobjs = array();
|
||||
$max = $this->_numOfFields;
|
||||
@ -1419,13 +1426,13 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
{
|
||||
$fld = new ADOFieldObject;
|
||||
$fieldOffset += 1;
|
||||
$fld->name =OCIcolumnname($this->_queryID, $fieldOffset);
|
||||
$fld->type = OCIcolumntype($this->_queryID, $fieldOffset);
|
||||
$fld->max_length = OCIcolumnsize($this->_queryID, $fieldOffset);
|
||||
$fld->name =oci_field_name($this->_queryID, $fieldOffset);
|
||||
$fld->type = oci_field_type($this->_queryID, $fieldOffset);
|
||||
$fld->max_length = oci_field_size($this->_queryID, $fieldOffset);
|
||||
switch($fld->type) {
|
||||
case 'NUMBER':
|
||||
$p = OCIColumnPrecision($this->_queryID, $fieldOffset);
|
||||
$sc = OCIColumnScale($this->_queryID, $fieldOffset);
|
||||
$p = oci_field_precision($this->_queryID, $fieldOffset);
|
||||
$sc = oci_field_scale($this->_queryID, $fieldOffset);
|
||||
if ($p != 0 && $sc == 0) $fld->type = 'INT';
|
||||
$fld->scale = $p;
|
||||
break;
|
||||
@ -1439,7 +1446,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
return $fld;
|
||||
}
|
||||
|
||||
/* For some reason, OCIcolumnname fails when called after _initrs() so we cache it */
|
||||
/* For some reason, oci_field_name fails when called after _initrs() so we cache it */
|
||||
function FetchField($fieldOffset = -1)
|
||||
{
|
||||
return $this->_fieldobjs[$fieldOffset];
|
||||
@ -1455,7 +1462,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
if ($this->EOF) return false;
|
||||
|
||||
$this->_currentRow++;
|
||||
if(@OCIfetchinto($this->_queryID,$this->fields,$this->fetchMode))
|
||||
if($this->fields = @oci_fetch_array($this->_queryID,$this->fetchMode))
|
||||
return true;
|
||||
$this->EOF = true;
|
||||
|
||||
@ -1465,7 +1472,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
|
||||
function MoveNext()
|
||||
{
|
||||
if (@OCIfetchinto($this->_queryID,$this->fields,$this->fetchMode)) {
|
||||
if ($this->fields = @oci_fetch_array($this->_queryID,$this->fetchMode)) {
|
||||
$this->_currentRow += 1;
|
||||
return true;
|
||||
}
|
||||
@ -1485,18 +1492,18 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
if (true || !empty($ADODB_OCI8_GETARRAY)) {
|
||||
# does not support $ADODB_ANSI_PADDING_OFF
|
||||
|
||||
//OCI_RETURN_NULLS and OCI_RETURN_LOBS is set by OCIfetchstatement
|
||||
//OCI_RETURN_NULLS and OCI_RETURN_LOBS is set by oci_fetch_all
|
||||
switch($this->adodbFetchMode) {
|
||||
case ADODB_FETCH_NUM:
|
||||
|
||||
$ncols = @OCIfetchstatement($this->_queryID, $results, 0, $nRows, OCI_FETCHSTATEMENT_BY_ROW+OCI_NUM);
|
||||
$ncols = @oci_fetch_all($this->_queryID, $results, 0, $nRows, oci_fetch_all_BY_ROW+OCI_NUM);
|
||||
$results = array_merge(array($this->fields),$results);
|
||||
return $results;
|
||||
|
||||
case ADODB_FETCH_ASSOC:
|
||||
if (ADODB_ASSOC_CASE != 2 || $this->databaseType != 'oci8') break;
|
||||
|
||||
$ncols = @OCIfetchstatement($this->_queryID, $assoc, 0, $nRows, OCI_FETCHSTATEMENT_BY_ROW);
|
||||
$ncols = @oci_fetch_all($this->_queryID, $assoc, 0, $nRows, oci_fetch_all_BY_ROW);
|
||||
$results = array_merge(array($this->fields),$assoc);
|
||||
return $results;
|
||||
|
||||
@ -1510,7 +1517,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
|
||||
} */
|
||||
|
||||
/* Optimize SelectLimit() by using OCIFetch() instead of OCIFetchInto() */
|
||||
/* Optimize SelectLimit() by using oci_fetch() */
|
||||
function GetArrayLimit($nrows,$offset=-1)
|
||||
{
|
||||
if ($offset <= 0) {
|
||||
@ -1519,9 +1526,9 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
}
|
||||
$arr = array();
|
||||
for ($i=1; $i < $offset; $i++)
|
||||
if (!@OCIFetch($this->_queryID)) return $arr;
|
||||
if (!@oci_fetch($this->_queryID)) return $arr;
|
||||
|
||||
if (!@OCIfetchinto($this->_queryID,$this->fields,$this->fetchMode)) return $arr;;
|
||||
if (!$this->fields = @oci_fetch_array($this->_queryID,$this->fetchMode)) return $arr;;
|
||||
$results = array();
|
||||
$cnt = 0;
|
||||
while (!$this->EOF && $nrows != $cnt) {
|
||||
@ -1556,7 +1563,7 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
|
||||
function _fetch()
|
||||
{
|
||||
return @OCIfetchinto($this->_queryID,$this->fields,$this->fetchMode);
|
||||
return $this->fields = @oci_fetch_array($this->_queryID,$this->fetchMode);
|
||||
}
|
||||
|
||||
/* close() only needs to be called if you are worried about using too much memory while your script
|
||||
@ -1566,10 +1573,10 @@ class ADORecordset_oci8 extends ADORecordSet {
|
||||
{
|
||||
if ($this->connection->_stmt === $this->_queryID) $this->connection->_stmt = false;
|
||||
if (!empty($this->_refcursor)) {
|
||||
OCIFreeCursor($this->_refcursor);
|
||||
oci_free_cursor($this->_refcursor);
|
||||
$this->_refcursor = false;
|
||||
}
|
||||
@OCIFreeStatement($this->_queryID);
|
||||
@oci_free_statement($this->_queryID);
|
||||
$this->_queryID = false;
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* @version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* @version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
* Released under both BSD license and Lesser GPL library license.
|
||||
* Whenever there is any discrepancy between the two licenses,
|
||||
* the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
@ -52,9 +52,13 @@ class ADODB_odbc extends ADOConnection {
|
||||
|
||||
if (!function_exists('odbc_connect')) return null;
|
||||
|
||||
if ($this->debug && $argDatabasename && $this->databaseType != 'vfp') {
|
||||
ADOConnection::outp("For odbc Connect(), $argDatabasename is not used. Place dsn in 1st parameter.");
|
||||
if (!empty($argDatabasename) && stristr($argDSN, 'Database=') === false) {
|
||||
$argDSN = trim($argDSN);
|
||||
$endDSN = substr($argDSN, strlen($argDSN) - 1);
|
||||
if ($endDSN != ';') $argDSN .= ';';
|
||||
$argDSN .= 'Database='.$argDatabasename;
|
||||
}
|
||||
|
||||
if (isset($php_errormsg)) $php_errormsg = '';
|
||||
if ($this->curmode === false) $this->_connectionID = odbc_connect($argDSN,$argUsername,$argPassword);
|
||||
else $this->_connectionID = odbc_connect($argDSN,$argUsername,$argPassword,$this->curmode);
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
version V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights
|
||||
version V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights
|
||||
reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim. All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence.
|
||||
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// by "El-Shamaa, Khaled" <k.el-shamaa#cgiar.org>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'ar',
|
||||
DB_ERROR => 'خطأ غير محدد',
|
||||
DB_ERROR_ALREADY_EXISTS => 'موجود مسبقا',
|
||||
DB_ERROR_CANNOT_CREATE => 'لا يمكن إنشاء',
|
||||
DB_ERROR_CANNOT_DELETE => 'لا يمكن حذف',
|
||||
DB_ERROR_CANNOT_DROP => 'لا يمكن حذف',
|
||||
DB_ERROR_CONSTRAINT => 'عملية إدخال ممنوعة',
|
||||
DB_ERROR_DIVZERO => 'عملية التقسيم على صفر',
|
||||
DB_ERROR_INVALID => 'غير صحيح',
|
||||
DB_ERROR_INVALID_DATE => 'صيغة وقت أو تاريخ غير صحيحة',
|
||||
DB_ERROR_INVALID_NUMBER => 'صيغة رقم غير صحيحة',
|
||||
DB_ERROR_MISMATCH => 'غير متطابق',
|
||||
DB_ERROR_NODBSELECTED => 'لم يتم إختيار قاعدة البيانات بعد',
|
||||
DB_ERROR_NOSUCHFIELD => 'ليس هنالك حقل بهذا الاسم',
|
||||
DB_ERROR_NOSUCHTABLE => 'ليس هنالك جدول بهذا الاسم',
|
||||
DB_ERROR_NOT_CAPABLE => 'قاعدة البيانات المرتبط بها غير قادرة',
|
||||
DB_ERROR_NOT_FOUND => 'لم يتم إيجاده',
|
||||
DB_ERROR_NOT_LOCKED => 'غير مقفول',
|
||||
DB_ERROR_SYNTAX => 'خطأ في الصيغة',
|
||||
DB_ERROR_UNSUPPORTED => 'غير مدعوم',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'عدد القيم في السجل',
|
||||
DB_ERROR_INVALID_DSN => 'DSN غير صحيح',
|
||||
DB_ERROR_CONNECT_FAILED => 'فشل عملية الإتصال',
|
||||
0 => 'ليس هنالك أخطاء', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'البيانات المزودة غير كافية',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'لم يتم إيجاد الإضافة المتعلقة',
|
||||
DB_ERROR_NOSUCHDB => 'ليس هنالك قاعدة بيانات بهذا الاسم',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'سماحيات غير كافية'
|
||||
);
|
||||
?>
|
@ -1,37 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
Bulgarian language, v1.0, 25.03.2004, encoding by Windows-1251 charset
|
||||
contributed by Valentin Sheiretsky <valio#valio.eu.org>
|
||||
*/
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'bg',
|
||||
DB_ERROR => 'неизвестна грешка',
|
||||
DB_ERROR_ALREADY_EXISTS => 'вече съществува',
|
||||
DB_ERROR_CANNOT_CREATE => 'не може да бъде създадена',
|
||||
DB_ERROR_CANNOT_DELETE => 'не може да бъде изтрита',
|
||||
DB_ERROR_CANNOT_DROP => 'не може да бъде унищожена',
|
||||
DB_ERROR_CONSTRAINT => 'нарушено условие',
|
||||
DB_ERROR_DIVZERO => 'деление на нула',
|
||||
DB_ERROR_INVALID => 'неправилно',
|
||||
DB_ERROR_INVALID_DATE => 'некоректна дата или час',
|
||||
DB_ERROR_INVALID_NUMBER => 'невалиден номер',
|
||||
DB_ERROR_MISMATCH => 'погрешна употреба',
|
||||
DB_ERROR_NODBSELECTED => 'не е избрана база данни',
|
||||
DB_ERROR_NOSUCHFIELD => 'несъществуващо поле',
|
||||
DB_ERROR_NOSUCHTABLE => 'несъществуваща таблица',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend not capable',
|
||||
DB_ERROR_NOT_FOUND => 'не е намерена',
|
||||
DB_ERROR_NOT_LOCKED => 'не е заключена',
|
||||
DB_ERROR_SYNTAX => 'грешен синтаксис',
|
||||
DB_ERROR_UNSUPPORTED => 'не се поддържа',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'некоректен брой колони в реда',
|
||||
DB_ERROR_INVALID_DSN => 'невалиден DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'връзката не може да бъде осъществена',
|
||||
0 => 'няма грешки', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'предоставените данни са недостатъчни',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'разширението не е намерено',
|
||||
DB_ERROR_NOSUCHDB => 'несъществуваща база данни',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'нямате достатъчно права'
|
||||
);
|
||||
?>
|
@ -1,37 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
Bulgarian language, v1.0, 25.03.2004, encoding by UTF-8 charset
|
||||
contributed by Valentin Sheiretsky <valio#valio.eu.org>
|
||||
*/
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'bgutf8',
|
||||
DB_ERROR => 'неизвестна грешка',
|
||||
DB_ERROR_ALREADY_EXISTS => 'вече съществува',
|
||||
DB_ERROR_CANNOT_CREATE => 'не може да бъде създадена',
|
||||
DB_ERROR_CANNOT_DELETE => 'не може да бъде изтрита',
|
||||
DB_ERROR_CANNOT_DROP => 'не може да бъде унищожена',
|
||||
DB_ERROR_CONSTRAINT => 'нарушено условие',
|
||||
DB_ERROR_DIVZERO => 'деление на нула',
|
||||
DB_ERROR_INVALID => 'неправилно',
|
||||
DB_ERROR_INVALID_DATE => 'некоректна дата или час',
|
||||
DB_ERROR_INVALID_NUMBER => 'невалиден номер',
|
||||
DB_ERROR_MISMATCH => 'погрешна употреба',
|
||||
DB_ERROR_NODBSELECTED => 'не е избрана база данни',
|
||||
DB_ERROR_NOSUCHFIELD => 'несъществуващо поле',
|
||||
DB_ERROR_NOSUCHTABLE => 'несъществуваща таблица',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend not capable',
|
||||
DB_ERROR_NOT_FOUND => 'не е намерена',
|
||||
DB_ERROR_NOT_LOCKED => 'не е заключена',
|
||||
DB_ERROR_SYNTAX => 'грешен синтаксис',
|
||||
DB_ERROR_UNSUPPORTED => 'не се поддържа',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'некоректен брой колони в реда',
|
||||
DB_ERROR_INVALID_DSN => 'невалиден DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'връзката не може да бъде осъществена',
|
||||
0 => 'няма грешки', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'предоставените данни са недостатъчни',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'разширението не е намерено',
|
||||
DB_ERROR_NOSUCHDB => 'несъществуваща база данни',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'нямате достатъчно права'
|
||||
);
|
||||
?>
|
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
// Catalan language
|
||||
// contributed by "Josep Lladonosa" jlladono#pie.xtec.es
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'ca',
|
||||
DB_ERROR => 'error desconegut',
|
||||
DB_ERROR_ALREADY_EXISTS => 'ja existeix',
|
||||
DB_ERROR_CANNOT_CREATE => 'no es pot crear',
|
||||
DB_ERROR_CANNOT_DELETE => 'no es pot esborrar',
|
||||
DB_ERROR_CANNOT_DROP => 'no es pot eliminar',
|
||||
DB_ERROR_CONSTRAINT => 'violació de constraint',
|
||||
DB_ERROR_DIVZERO => 'divisió per zero',
|
||||
DB_ERROR_INVALID => 'no és vàlid',
|
||||
DB_ERROR_INVALID_DATE => 'la data o l\'hora no són vàlides',
|
||||
DB_ERROR_INVALID_NUMBER => 'el nombre no és vàlid',
|
||||
DB_ERROR_MISMATCH => 'no hi ha coincidència',
|
||||
DB_ERROR_NODBSELECTED => 'cap base de dades seleccionada',
|
||||
DB_ERROR_NOSUCHFIELD => 'camp inexistent',
|
||||
DB_ERROR_NOSUCHTABLE => 'taula inexistent',
|
||||
DB_ERROR_NOT_CAPABLE => 'l\'execució secundària de DB no pot',
|
||||
DB_ERROR_NOT_FOUND => 'no trobat',
|
||||
DB_ERROR_NOT_LOCKED => 'no blocat',
|
||||
DB_ERROR_SYNTAX => 'error de sintaxi',
|
||||
DB_ERROR_UNSUPPORTED => 'no suportat',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'el nombre de columnes no coincideix amb el nombre de valors en la fila',
|
||||
DB_ERROR_INVALID_DSN => 'el DSN no és vàlid',
|
||||
DB_ERROR_CONNECT_FAILED => 'connexió fallida',
|
||||
0 => 'cap error', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'les dades subministrades són insuficients',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extensió no trobada',
|
||||
DB_ERROR_NOSUCHDB => 'base de dades inexistent',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permisos insuficients'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
// Chinese language file contributed by "Cuiyan (cysoft)" cysoft#php.net.
|
||||
// Encode by GB2312
|
||||
// Simplified Chinese
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'cn',
|
||||
DB_ERROR => '未知错误',
|
||||
DB_ERROR_ALREADY_EXISTS => '已经存在',
|
||||
DB_ERROR_CANNOT_CREATE => '不能创建',
|
||||
DB_ERROR_CANNOT_DELETE => '不能删除',
|
||||
DB_ERROR_CANNOT_DROP => '不能丢弃',
|
||||
DB_ERROR_CONSTRAINT => '约束限制',
|
||||
DB_ERROR_DIVZERO => '被0除',
|
||||
DB_ERROR_INVALID => '无效',
|
||||
DB_ERROR_INVALID_DATE => '无效的日期或者时间',
|
||||
DB_ERROR_INVALID_NUMBER => '无效的数字',
|
||||
DB_ERROR_MISMATCH => '不匹配',
|
||||
DB_ERROR_NODBSELECTED => '没有数据库被选择',
|
||||
DB_ERROR_NOSUCHFIELD => '没有相应的字段',
|
||||
DB_ERROR_NOSUCHTABLE => '没有相应的表',
|
||||
DB_ERROR_NOT_CAPABLE => '数据库后台不兼容',
|
||||
DB_ERROR_NOT_FOUND => '没有发现',
|
||||
DB_ERROR_NOT_LOCKED => '没有被锁定',
|
||||
DB_ERROR_SYNTAX => '语法错误',
|
||||
DB_ERROR_UNSUPPORTED => '不支持',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '在行上累计值',
|
||||
DB_ERROR_INVALID_DSN => '无效的数据源 (DSN)',
|
||||
DB_ERROR_CONNECT_FAILED => '连接失败',
|
||||
0 => '没有错误', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => '提供的数据不能符合要求',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> '扩展没有被发现',
|
||||
DB_ERROR_NOSUCHDB => '没有相应的数据库',
|
||||
DB_ERROR_ACCESS_VIOLATION => '没有合适的权限'
|
||||
);
|
||||
?>
|
@ -1,40 +0,0 @@
|
||||
<?php
|
||||
|
||||
# Czech language, encoding by ISO 8859-2 charset (Iso Latin-2)
|
||||
# For convert to MS Windows use shell command:
|
||||
# iconv -f ISO_8859-2 -t CP1250 < adodb-cz.inc.php
|
||||
# For convert to ASCII use shell command:
|
||||
# unaccent ISO_8859-2 < adodb-cz.inc.php
|
||||
# v1.0, 19.06.2003 Kamil Jakubovic <jake@host.sk>
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'cz',
|
||||
DB_ERROR => 'neznámá chyba',
|
||||
DB_ERROR_ALREADY_EXISTS => 'ji? existuje',
|
||||
DB_ERROR_CANNOT_CREATE => 'nelze vytvo?it',
|
||||
DB_ERROR_CANNOT_DELETE => 'nelze smazat',
|
||||
DB_ERROR_CANNOT_DROP => 'nelze odstranit',
|
||||
DB_ERROR_CONSTRAINT => 'poru?ení omezující podmínky',
|
||||
DB_ERROR_DIVZERO => 'd?lení nulou',
|
||||
DB_ERROR_INVALID => 'neplatné',
|
||||
DB_ERROR_INVALID_DATE => 'neplatné datum nebo ?as',
|
||||
DB_ERROR_INVALID_NUMBER => 'neplatné ?íslo',
|
||||
DB_ERROR_MISMATCH => 'nesouhlasí',
|
||||
DB_ERROR_NODBSELECTED => '?ádná databáze není vybrána',
|
||||
DB_ERROR_NOSUCHFIELD => 'pole nenalezeno',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabulka nenalezena',
|
||||
DB_ERROR_NOT_CAPABLE => 'nepodporováno',
|
||||
DB_ERROR_NOT_FOUND => 'nenalezeno',
|
||||
DB_ERROR_NOT_LOCKED => 'nezam?eno',
|
||||
DB_ERROR_SYNTAX => 'syntaktická chyba',
|
||||
DB_ERROR_UNSUPPORTED => 'nepodporováno',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => '',
|
||||
DB_ERROR_INVALID_DSN => 'neplatné DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'p?ipojení selhalo',
|
||||
0 => 'bez chyb', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'málo zdrojových dat',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'roz?í?ení nenalezeno',
|
||||
DB_ERROR_NOSUCHDB => 'databáze neexistuje',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'nedostate?ná práva'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// Arne Eckmann bananstat#users.sourceforge.net
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'da',
|
||||
DB_ERROR => 'ukendt fejl',
|
||||
DB_ERROR_ALREADY_EXISTS => 'eksisterer allerede',
|
||||
DB_ERROR_CANNOT_CREATE => 'kan ikke oprette',
|
||||
DB_ERROR_CANNOT_DELETE => 'kan ikke slette',
|
||||
DB_ERROR_CANNOT_DROP => 'kan ikke droppe',
|
||||
DB_ERROR_CONSTRAINT => 'begrænsning krænket',
|
||||
DB_ERROR_DIVZERO => 'division med nul',
|
||||
DB_ERROR_INVALID => 'ugyldig',
|
||||
DB_ERROR_INVALID_DATE => 'ugyldig dato eller klokkeslet',
|
||||
DB_ERROR_INVALID_NUMBER => 'ugyldigt tal',
|
||||
DB_ERROR_MISMATCH => 'mismatch',
|
||||
DB_ERROR_NODBSELECTED => 'ingen database valgt',
|
||||
DB_ERROR_NOSUCHFIELD => 'felt findes ikke',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabel findes ikke',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend opgav',
|
||||
DB_ERROR_NOT_FOUND => 'ikke fundet',
|
||||
DB_ERROR_NOT_LOCKED => 'ikke låst',
|
||||
DB_ERROR_SYNTAX => 'syntaksfejl',
|
||||
DB_ERROR_UNSUPPORTED => 'ikke understøttet',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'resulterende antal felter svarer ikke til forespørgslens antal felter',
|
||||
DB_ERROR_INVALID_DSN => 'ugyldig DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'tilslutning mislykkedes',
|
||||
0 => 'ingen fejl', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'utilstrækkelige data angivet',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'udvidelse ikke fundet',
|
||||
DB_ERROR_NOSUCHDB => 'database ikke fundet',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'utilstrækkelige rettigheder'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// contributed by "Heinz Hombergs" <opn@hhombergs.de>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'de',
|
||||
DB_ERROR => 'Unbekannter Fehler',
|
||||
DB_ERROR_ALREADY_EXISTS => 'existiert bereits',
|
||||
DB_ERROR_CANNOT_CREATE => 'kann nicht erstellen',
|
||||
DB_ERROR_CANNOT_DELETE => 'kann nicht löschen',
|
||||
DB_ERROR_CANNOT_DROP => 'Tabelle oder Index konnte nicht gelöscht werden',
|
||||
DB_ERROR_CONSTRAINT => 'Constraint Verletzung',
|
||||
DB_ERROR_DIVZERO => 'Division durch Null',
|
||||
DB_ERROR_INVALID => 'ung¨ltig',
|
||||
DB_ERROR_INVALID_DATE => 'ung¨ltiges Datum oder Zeit',
|
||||
DB_ERROR_INVALID_NUMBER => 'ung¨ltige Zahl',
|
||||
DB_ERROR_MISMATCH => 'Unverträglichkeit',
|
||||
DB_ERROR_NODBSELECTED => 'keine Dantebank ausgewählt',
|
||||
DB_ERROR_NOSUCHFIELD => 'Feld nicht vorhanden',
|
||||
DB_ERROR_NOSUCHTABLE => 'Tabelle nicht vorhanden',
|
||||
DB_ERROR_NOT_CAPABLE => 'Funktion nicht installiert',
|
||||
DB_ERROR_NOT_FOUND => 'nicht gefunden',
|
||||
DB_ERROR_NOT_LOCKED => 'nicht gesperrt',
|
||||
DB_ERROR_SYNTAX => 'Syntaxfehler',
|
||||
DB_ERROR_UNSUPPORTED => 'nicht Unterst¨tzt',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'Anzahl der zur¨ckgelieferten Felder entspricht nicht der Anzahl der Felder in der Abfrage',
|
||||
DB_ERROR_INVALID_DSN => 'ung¨ltiger DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'Verbindung konnte nicht hergestellt werden',
|
||||
0 => 'kein Fehler', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'Nicht gen¨gend Daten geliefert',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'erweiterung nicht gefunden',
|
||||
DB_ERROR_NOSUCHDB => 'keine Datenbank',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'ungen¨gende Rechte'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// contributed by "Horacio Degiorgi" <horaciod@codigophp.com>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'es',
|
||||
DB_ERROR => 'error desconocido',
|
||||
DB_ERROR_ALREADY_EXISTS => 'ya existe',
|
||||
DB_ERROR_CANNOT_CREATE => 'imposible crear',
|
||||
DB_ERROR_CANNOT_DELETE => 'imposible borrar',
|
||||
DB_ERROR_CANNOT_DROP => 'imposible hacer drop',
|
||||
DB_ERROR_CONSTRAINT => 'violacion de constraint',
|
||||
DB_ERROR_DIVZERO => 'division por cero',
|
||||
DB_ERROR_INVALID => 'invalido',
|
||||
DB_ERROR_INVALID_DATE => 'fecha u hora invalida',
|
||||
DB_ERROR_INVALID_NUMBER => 'numero invalido',
|
||||
DB_ERROR_MISMATCH => 'error',
|
||||
DB_ERROR_NODBSELECTED => 'no hay base de datos seleccionada',
|
||||
DB_ERROR_NOSUCHFIELD => 'campo invalido',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabla no existe',
|
||||
DB_ERROR_NOT_CAPABLE => 'capacidad invalida para esta DB',
|
||||
DB_ERROR_NOT_FOUND => 'no encontrado',
|
||||
DB_ERROR_NOT_LOCKED => 'no bloqueado',
|
||||
DB_ERROR_SYNTAX => 'error de sintaxis',
|
||||
DB_ERROR_UNSUPPORTED => 'no soportado',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'la cantidad de columnas no corresponden a la cantidad de valores',
|
||||
DB_ERROR_INVALID_DSN => 'DSN invalido',
|
||||
DB_ERROR_CONNECT_FAILED => 'fallo la conexion',
|
||||
0 => 'sin error', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'insuficientes datos',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension no encontrada',
|
||||
DB_ERROR_NOSUCHDB => 'base de datos no encontrada',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permisos insuficientes'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
// Vivu Esperanto cxiam!
|
||||
// Traduko fare de Antono Vasiljev (anders[#]brainactive.org)
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'eo',
|
||||
DB_ERROR => 'nekonata eraro',
|
||||
DB_ERROR_ALREADY_EXISTS => 'jam ekzistas',
|
||||
DB_ERROR_CANNOT_CREATE => 'maleblas krei',
|
||||
DB_ERROR_CANNOT_DELETE => 'maleblas elimini',
|
||||
DB_ERROR_CANNOT_DROP => 'maleblas elimini (drop)',
|
||||
DB_ERROR_CONSTRAINT => 'rompo de kondicxoj de provo',
|
||||
DB_ERROR_DIVZERO => 'divido per 0 (nul)',
|
||||
DB_ERROR_INVALID => 'malregule',
|
||||
DB_ERROR_INVALID_DATE => 'malregula dato kaj tempo',
|
||||
DB_ERROR_INVALID_NUMBER => 'malregula nombro',
|
||||
DB_ERROR_MISMATCH => 'eraro',
|
||||
DB_ERROR_NODBSELECTED => 'datumbazo ne elektita',
|
||||
DB_ERROR_NOSUCHFIELD => 'ne ekzistas kampo',
|
||||
DB_ERROR_NOSUCHTABLE => 'ne ekzistas tabelo',
|
||||
DB_ERROR_NOT_CAPABLE => 'DBMS ne povas',
|
||||
DB_ERROR_NOT_FOUND => 'ne trovita',
|
||||
DB_ERROR_NOT_LOCKED => 'ne blokita',
|
||||
DB_ERROR_SYNTAX => 'sintaksa eraro',
|
||||
DB_ERROR_UNSUPPORTED => 'ne apogata',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'nombrilo de valoroj en linio',
|
||||
DB_ERROR_INVALID_DSN => 'malregula DSN-o',
|
||||
DB_ERROR_CONNECT_FAILED => 'konekto malsukcesa',
|
||||
0 => 'cxio bone', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'ne suficxe da datumo',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'etendo ne trovita',
|
||||
DB_ERROR_NOSUCHDB => 'datumbazo ne ekzistas',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'ne suficxe da rajto por atingo'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* Farsi - by "Peyman Hooshmandi Raad" <phooshmand#gmail.com> */
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'fa',
|
||||
DB_ERROR => 'خطای ناشناخته',
|
||||
DB_ERROR_ALREADY_EXISTS => 'وجود دارد',
|
||||
DB_ERROR_CANNOT_CREATE => 'امکان create وجود ندارد',
|
||||
DB_ERROR_CANNOT_DELETE => 'امکان حذف وجود ندارد',
|
||||
DB_ERROR_CANNOT_DROP => 'امکان drop وجود ندارد',
|
||||
DB_ERROR_CONSTRAINT => 'نقض شرط',
|
||||
DB_ERROR_DIVZERO => 'تقسیم بر صفر',
|
||||
DB_ERROR_INVALID => 'نامعتبر',
|
||||
DB_ERROR_INVALID_DATE => 'زمان یا تاریخ نامعتبر',
|
||||
DB_ERROR_INVALID_NUMBER => 'عدد نامعتبر',
|
||||
DB_ERROR_MISMATCH => 'عدم مطابقت',
|
||||
DB_ERROR_NODBSELECTED => 'بانک اطلاعاتی انتخاب نشده است',
|
||||
DB_ERROR_NOSUCHFIELD => 'چنین ستونی وجود ندارد',
|
||||
DB_ERROR_NOSUCHTABLE => 'چنین جدولی وجود ندارد',
|
||||
DB_ERROR_NOT_CAPABLE => 'backend بانک اطلاعاتی قادر نیست',
|
||||
DB_ERROR_NOT_FOUND => 'پیدا نشد',
|
||||
DB_ERROR_NOT_LOCKED => 'قفل نشده',
|
||||
DB_ERROR_SYNTAX => 'خطای دستوری',
|
||||
DB_ERROR_UNSUPPORTED => 'پشتیبانی نمی شود',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'شمارش مقادیر روی ردیف',
|
||||
DB_ERROR_INVALID_DSN => 'DSN نامعتبر',
|
||||
DB_ERROR_CONNECT_FAILED => 'ارتباط برقرار نشد',
|
||||
0 => 'بدون خطا', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'داده ناکافی است',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension پیدا نشد',
|
||||
DB_ERROR_NOSUCHDB => 'چنین بانک اطلاعاتی وجود ندارد',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'حق دسترسی ناکافی'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'fr',
|
||||
DB_ERROR => 'erreur inconnue',
|
||||
DB_ERROR_ALREADY_EXISTS => 'existe déjà',
|
||||
DB_ERROR_CANNOT_CREATE => 'crétion impossible',
|
||||
DB_ERROR_CANNOT_DELETE => 'effacement impossible',
|
||||
DB_ERROR_CANNOT_DROP => 'suppression impossible',
|
||||
DB_ERROR_CONSTRAINT => 'violation de contrainte',
|
||||
DB_ERROR_DIVZERO => 'division par zéro',
|
||||
DB_ERROR_INVALID => 'invalide',
|
||||
DB_ERROR_INVALID_DATE => 'date ou heure invalide',
|
||||
DB_ERROR_INVALID_NUMBER => 'nombre invalide',
|
||||
DB_ERROR_MISMATCH => 'erreur de concordance',
|
||||
DB_ERROR_NODBSELECTED => 'pas de base de donnéessélectionnée',
|
||||
DB_ERROR_NOSUCHFIELD => 'nom de colonne invalide',
|
||||
DB_ERROR_NOSUCHTABLE => 'table ou vue inexistante',
|
||||
DB_ERROR_NOT_CAPABLE => 'fonction optionnelle non installée',
|
||||
DB_ERROR_NOT_FOUND => 'pas trouvé',
|
||||
DB_ERROR_NOT_LOCKED => 'non verrouillé',
|
||||
DB_ERROR_SYNTAX => 'erreur de syntaxe',
|
||||
DB_ERROR_UNSUPPORTED => 'non supporté',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valeur insérée trop grande pour colonne',
|
||||
DB_ERROR_INVALID_DSN => 'DSN invalide',
|
||||
DB_ERROR_CONNECT_FAILED => 'échec à la connexion',
|
||||
0 => "pas d'erreur", // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'données fournies insuffisantes',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extension non trouvée',
|
||||
DB_ERROR_NOSUCHDB => 'base de données inconnue',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'droits insuffisants'
|
||||
);
|
||||
?>
|
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
# Hungarian language, encoding by ISO 8859-2 charset (Iso Latin-2)
|
||||
# Halászvári Gábor <g.halaszvari#portmax.hu>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'hu',
|
||||
DB_ERROR => 'ismeretlen hiba',
|
||||
DB_ERROR_ALREADY_EXISTS => 'már létezik',
|
||||
DB_ERROR_CANNOT_CREATE => 'nem sikerült létrehozni',
|
||||
DB_ERROR_CANNOT_DELETE => 'nem sikerült törölni',
|
||||
DB_ERROR_CANNOT_DROP => 'nem sikerült eldobni',
|
||||
DB_ERROR_CONSTRAINT => 'szabályok megszegése',
|
||||
DB_ERROR_DIVZERO => 'osztás nullával',
|
||||
DB_ERROR_INVALID => 'érvénytelen',
|
||||
DB_ERROR_INVALID_DATE => 'érvénytelen dátum vagy idõ',
|
||||
DB_ERROR_INVALID_NUMBER => 'érvénytelen szám',
|
||||
DB_ERROR_MISMATCH => 'nem megfelelõ',
|
||||
DB_ERROR_NODBSELECTED => 'nincs kiválasztott adatbázis',
|
||||
DB_ERROR_NOSUCHFIELD => 'nincs ilyen mezõ',
|
||||
DB_ERROR_NOSUCHTABLE => 'nincs ilyen tábla',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend nem támogatja',
|
||||
DB_ERROR_NOT_FOUND => 'nem található',
|
||||
DB_ERROR_NOT_LOCKED => 'nincs lezárva',
|
||||
DB_ERROR_SYNTAX => 'szintaktikai hiba',
|
||||
DB_ERROR_UNSUPPORTED => 'nem támogatott',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'soron végzett érték számlálás',
|
||||
DB_ERROR_INVALID_DSN => 'hibás DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'sikertelen csatlakozás',
|
||||
0 => 'nincs hiba', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'túl kevés az adat',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'bõvítmény nem található',
|
||||
DB_ERROR_NOSUCHDB => 'nincs ilyen adatbázis',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'nincs jogosultság'
|
||||
);
|
||||
?>
|
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
// Italian language file contributed by Tiraboschi Massimiliano aka TiMax
|
||||
// www.maxdev.com timax@maxdev.com
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'it',
|
||||
DB_ERROR => 'errore sconosciuto',
|
||||
DB_ERROR_ALREADY_EXISTS => 'esiste già',
|
||||
DB_ERROR_CANNOT_CREATE => 'non posso creare',
|
||||
DB_ERROR_CANNOT_DELETE => 'non posso cancellare',
|
||||
DB_ERROR_CANNOT_DROP => 'non posso eliminare',
|
||||
DB_ERROR_CONSTRAINT => 'violazione constraint',
|
||||
DB_ERROR_DIVZERO => 'divisione per zero',
|
||||
DB_ERROR_INVALID => 'non valido',
|
||||
DB_ERROR_INVALID_DATE => 'data od ora non valida',
|
||||
DB_ERROR_INVALID_NUMBER => 'numero non valido',
|
||||
DB_ERROR_MISMATCH => 'diversi',
|
||||
DB_ERROR_NODBSELECTED => 'nessun database selezionato',
|
||||
DB_ERROR_NOSUCHFIELD => 'nessun campo trovato',
|
||||
DB_ERROR_NOSUCHTABLE => 'nessuna tabella trovata',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend non abilitato',
|
||||
DB_ERROR_NOT_FOUND => 'non trovato',
|
||||
DB_ERROR_NOT_LOCKED => 'non bloccato',
|
||||
DB_ERROR_SYNTAX => 'errore di sintassi',
|
||||
DB_ERROR_UNSUPPORTED => 'non supportato',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valore inserito troppo grande per una colonna',
|
||||
DB_ERROR_INVALID_DSN => 'DSN non valido',
|
||||
DB_ERROR_CONNECT_FAILED => 'connessione fallita',
|
||||
0 => 'nessun errore', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'dati inseriti insufficienti',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'estensione non trovata',
|
||||
DB_ERROR_NOSUCHDB => 'database non trovato',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permessi insufficienti'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// Translated by Pim Koeman (pim#wittenborg-university.com)
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'nl',
|
||||
DB_ERROR => 'onbekende fout',
|
||||
DB_ERROR_ALREADY_EXISTS => 'bestaat al',
|
||||
DB_ERROR_CANNOT_CREATE => 'kan niet aanmaken',
|
||||
DB_ERROR_CANNOT_DELETE => 'kan niet wissen',
|
||||
DB_ERROR_CANNOT_DROP => 'kan niet verwijderen',
|
||||
DB_ERROR_CONSTRAINT => 'constraint overtreding',
|
||||
DB_ERROR_DIVZERO => 'poging tot delen door nul',
|
||||
DB_ERROR_INVALID => 'ongeldig',
|
||||
DB_ERROR_INVALID_DATE => 'ongeldige datum of tijd',
|
||||
DB_ERROR_INVALID_NUMBER => 'ongeldig nummer',
|
||||
DB_ERROR_MISMATCH => 'is incorrect',
|
||||
DB_ERROR_NODBSELECTED => 'geen database geselecteerd',
|
||||
DB_ERROR_NOSUCHFIELD => 'onbekend veld',
|
||||
DB_ERROR_NOSUCHTABLE => 'onbekende tabel',
|
||||
DB_ERROR_NOT_CAPABLE => 'database systeem is niet tot uitvoer in staat',
|
||||
DB_ERROR_NOT_FOUND => 'niet gevonden',
|
||||
DB_ERROR_NOT_LOCKED => 'niet vergrendeld',
|
||||
DB_ERROR_SYNTAX => 'syntaxis fout',
|
||||
DB_ERROR_UNSUPPORTED => 'niet ondersteund',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'waarde telling op rij',
|
||||
DB_ERROR_INVALID_DSN => 'ongeldige DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'connectie mislukt',
|
||||
0 => 'geen fout', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'onvoldoende data gegeven',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extensie niet gevonden',
|
||||
DB_ERROR_NOSUCHDB => 'onbekende database',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'onvoldoende rechten'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Contributed by Grzegorz Pacan <gp#dione.cc>
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'pl',
|
||||
DB_ERROR => 'niezidentyfikowany błąd',
|
||||
DB_ERROR_ALREADY_EXISTS => 'już istnieją',
|
||||
DB_ERROR_CANNOT_CREATE => 'nie można stworzyć',
|
||||
DB_ERROR_CANNOT_DELETE => 'nie można usunąć',
|
||||
DB_ERROR_CANNOT_DROP => 'nie można porzucić',
|
||||
DB_ERROR_CONSTRAINT => 'pogwałcenie uprawnień',
|
||||
DB_ERROR_DIVZERO => 'dzielenie przez zero',
|
||||
DB_ERROR_INVALID => 'błędny',
|
||||
DB_ERROR_INVALID_DATE => 'błędna godzina lub data',
|
||||
DB_ERROR_INVALID_NUMBER => 'błędny numer',
|
||||
DB_ERROR_MISMATCH => 'niedopasowanie',
|
||||
DB_ERROR_NODBSELECTED => 'baza danych nie została wybrana',
|
||||
DB_ERROR_NOSUCHFIELD => 'nie znaleziono pola',
|
||||
DB_ERROR_NOSUCHTABLE => 'nie znaleziono tabeli',
|
||||
DB_ERROR_NOT_CAPABLE => 'nie zdolny',
|
||||
DB_ERROR_NOT_FOUND => 'nie znaleziono',
|
||||
DB_ERROR_NOT_LOCKED => 'nie zakmnięty',
|
||||
DB_ERROR_SYNTAX => 'błąd składni',
|
||||
DB_ERROR_UNSUPPORTED => 'nie obsługuje',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'wartość liczona w szeregu',
|
||||
DB_ERROR_INVALID_DSN => 'błędny DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'połączenie nie zostało zrealizowane',
|
||||
0 => 'brak błędów', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'niedostateczna ilość informacji',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'nie znaleziono rozszerzenia',
|
||||
DB_ERROR_NOSUCHDB => 'nie znaleziono bazy',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'niedostateczne uprawnienia'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
// contributed by "Levi Fukumori" levi _AT_ fukumori _DOT_ com _DOT_ br
|
||||
// portugese (brazilian)
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'pt-br',
|
||||
DB_ERROR => 'erro desconhecido',
|
||||
DB_ERROR_ALREADY_EXISTS => 'já existe',
|
||||
DB_ERROR_CANNOT_CREATE => 'impossível criar',
|
||||
DB_ERROR_CANNOT_DELETE => 'impossível excluír',
|
||||
DB_ERROR_CANNOT_DROP => 'impossível remover',
|
||||
DB_ERROR_CONSTRAINT => 'violação do confinamente',
|
||||
DB_ERROR_DIVZERO => 'divisão por zero',
|
||||
DB_ERROR_INVALID => 'inválido',
|
||||
DB_ERROR_INVALID_DATE => 'data ou hora inválida',
|
||||
DB_ERROR_INVALID_NUMBER => 'número inválido',
|
||||
DB_ERROR_MISMATCH => 'erro',
|
||||
DB_ERROR_NODBSELECTED => 'nenhum banco de dados selecionado',
|
||||
DB_ERROR_NOSUCHFIELD => 'campo inválido',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabela inexistente',
|
||||
DB_ERROR_NOT_CAPABLE => 'capacidade inválida para este BD',
|
||||
DB_ERROR_NOT_FOUND => 'não encontrado',
|
||||
DB_ERROR_NOT_LOCKED => 'não bloqueado',
|
||||
DB_ERROR_SYNTAX => 'erro de sintaxe',
|
||||
DB_ERROR_UNSUPPORTED =>
|
||||
'não suportado',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'a quantidade de colunas não corresponde ao de valores',
|
||||
DB_ERROR_INVALID_DSN => 'DSN inválido',
|
||||
DB_ERROR_CONNECT_FAILED => 'falha na conexão',
|
||||
0 => 'sem erro', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'dados insuficientes',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extensão não encontrada',
|
||||
DB_ERROR_NOSUCHDB => 'banco de dados não encontrado',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permissão insuficiente'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
/* Romanian - by "bogdan stefan" <sbogdan#rsb.ro> */
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'ro',
|
||||
DB_ERROR => 'eroare necunoscuta',
|
||||
DB_ERROR_ALREADY_EXISTS => 'deja exista',
|
||||
DB_ERROR_CANNOT_CREATE => 'nu se poate creea',
|
||||
DB_ERROR_CANNOT_DELETE => 'nu se poate sterge',
|
||||
DB_ERROR_CANNOT_DROP => 'nu se poate executa drop',
|
||||
DB_ERROR_CONSTRAINT => 'violare de constrain',
|
||||
DB_ERROR_DIVZERO => 'se divide la zero',
|
||||
DB_ERROR_INVALID => 'invalid',
|
||||
DB_ERROR_INVALID_DATE => 'data sau timp invalide',
|
||||
DB_ERROR_INVALID_NUMBER => 'numar invalid',
|
||||
DB_ERROR_MISMATCH => 'nepotrivire-mismatch',
|
||||
DB_ERROR_NODBSELECTED => 'nu exista baza de date selectata',
|
||||
DB_ERROR_NOSUCHFIELD => 'camp inexistent',
|
||||
DB_ERROR_NOSUCHTABLE => 'tabela inexistenta',
|
||||
DB_ERROR_NOT_CAPABLE => 'functie optionala neinstalata',
|
||||
DB_ERROR_NOT_FOUND => 'negasit',
|
||||
DB_ERROR_NOT_LOCKED => 'neblocat',
|
||||
DB_ERROR_SYNTAX => 'eroare de sintaxa',
|
||||
DB_ERROR_UNSUPPORTED => 'nu e suportat',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'valoare prea mare pentru coloana',
|
||||
DB_ERROR_INVALID_DSN => 'DSN invalid',
|
||||
DB_ERROR_CONNECT_FAILED => 'conectare esuata',
|
||||
0 => 'fara eroare', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'data introduse insuficiente',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'extensie negasita',
|
||||
DB_ERROR_NOSUCHDB => 'nu exista baza de date',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permisiuni insuficiente'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Russian language file contributed by "Cyrill Malevanov" cyrill#malevanov.spb.ru.
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'ru1251',
|
||||
DB_ERROR => 'неизвестная ошибка',
|
||||
DB_ERROR_ALREADY_EXISTS => 'уже существует',
|
||||
DB_ERROR_CANNOT_CREATE => 'невозможно создать',
|
||||
DB_ERROR_CANNOT_DELETE => 'невозможно удалить',
|
||||
DB_ERROR_CANNOT_DROP => 'невозможно удалить (drop)',
|
||||
DB_ERROR_CONSTRAINT => 'нарушение условий проверки',
|
||||
DB_ERROR_DIVZERO => 'деление на 0',
|
||||
DB_ERROR_INVALID => 'неправильно',
|
||||
DB_ERROR_INVALID_DATE => 'некорректная дата или время',
|
||||
DB_ERROR_INVALID_NUMBER => 'некорректное число',
|
||||
DB_ERROR_MISMATCH => 'ошибка',
|
||||
DB_ERROR_NODBSELECTED => 'БД не выбрана',
|
||||
DB_ERROR_NOSUCHFIELD => 'не существует поле',
|
||||
DB_ERROR_NOSUCHTABLE => 'не существует таблица',
|
||||
DB_ERROR_NOT_CAPABLE => 'СУБД не в состоянии',
|
||||
DB_ERROR_NOT_FOUND => 'не найдено',
|
||||
DB_ERROR_NOT_LOCKED => 'не заблокировано',
|
||||
DB_ERROR_SYNTAX => 'синтаксическая ошибка',
|
||||
DB_ERROR_UNSUPPORTED => 'не поддерживается',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'счетчик значений в строке',
|
||||
DB_ERROR_INVALID_DSN => 'неправильная DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'соединение неуспешно',
|
||||
0 => 'нет ошибки', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'предоставлено недостаточно данных',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'расширение не найдено',
|
||||
DB_ERROR_NOSUCHDB => 'не существует БД',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'недостаточно прав доступа'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// Christian Tiberg" christian@commsoft.nu
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'en',
|
||||
DB_ERROR => 'Okänt fel',
|
||||
DB_ERROR_ALREADY_EXISTS => 'finns redan',
|
||||
DB_ERROR_CANNOT_CREATE => 'kan inte skapa',
|
||||
DB_ERROR_CANNOT_DELETE => 'kan inte ta bort',
|
||||
DB_ERROR_CANNOT_DROP => 'kan inte släppa',
|
||||
DB_ERROR_CONSTRAINT => 'begränsning kränkt',
|
||||
DB_ERROR_DIVZERO => 'division med noll',
|
||||
DB_ERROR_INVALID => 'ogiltig',
|
||||
DB_ERROR_INVALID_DATE => 'ogiltigt datum eller tid',
|
||||
DB_ERROR_INVALID_NUMBER => 'ogiltigt tal',
|
||||
DB_ERROR_MISMATCH => 'felaktig matchning',
|
||||
DB_ERROR_NODBSELECTED => 'ingen databas vald',
|
||||
DB_ERROR_NOSUCHFIELD => 'inget sådant fält',
|
||||
DB_ERROR_NOSUCHTABLE => 'ingen sådan tabell',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend klarar det inte',
|
||||
DB_ERROR_NOT_FOUND => 'finns inte',
|
||||
DB_ERROR_NOT_LOCKED => 'inte låst',
|
||||
DB_ERROR_SYNTAX => 'syntaxfel',
|
||||
DB_ERROR_UNSUPPORTED => 'stöds ej',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'värde räknat på rad',
|
||||
DB_ERROR_INVALID_DSN => 'ogiltig DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'anslutning misslyckades',
|
||||
0 => 'inget fel', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'otillräckligt med data angivet',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'utökning hittades ej',
|
||||
DB_ERROR_NOSUCHDB => 'ingen sådan databas',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'otillräckliga rättigheter'
|
||||
);
|
||||
?>
|
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Ukrainian language file contributed by Alex Rootoff rootoff{AT}pisem.net.
|
||||
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'uk1251',
|
||||
DB_ERROR => 'невідома помилка',
|
||||
DB_ERROR_ALREADY_EXISTS => 'вже існує',
|
||||
DB_ERROR_CANNOT_CREATE => 'неможливо створити',
|
||||
DB_ERROR_CANNOT_DELETE => 'неможливо видалити',
|
||||
DB_ERROR_CANNOT_DROP => 'неможливо знищити (drop)',
|
||||
DB_ERROR_CONSTRAINT => 'порушення умов перевірки',
|
||||
DB_ERROR_DIVZERO => 'ділення на 0',
|
||||
DB_ERROR_INVALID => 'неправильно',
|
||||
DB_ERROR_INVALID_DATE => 'неправильна дата чи час',
|
||||
DB_ERROR_INVALID_NUMBER => 'неправильне число',
|
||||
DB_ERROR_MISMATCH => 'помилка',
|
||||
DB_ERROR_NODBSELECTED => 'не вибрано БД',
|
||||
DB_ERROR_NOSUCHFIELD => 'не існує поле',
|
||||
DB_ERROR_NOSUCHTABLE => 'не існує таблиця',
|
||||
DB_ERROR_NOT_CAPABLE => 'СУБД не в стані',
|
||||
DB_ERROR_NOT_FOUND => 'не знайдено',
|
||||
DB_ERROR_NOT_LOCKED => 'не заблоковано',
|
||||
DB_ERROR_SYNTAX => 'синтаксична помилка',
|
||||
DB_ERROR_UNSUPPORTED => 'не підтримується',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'рахівник значень в стрічці',
|
||||
DB_ERROR_INVALID_DSN => 'неправильна DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'з\'єднання неуспішне',
|
||||
0 => 'все гаразд', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'надано недостатньо даних',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'розширення не знайдено',
|
||||
DB_ERROR_NOSUCHDB => 'не існує БД',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'недостатньо прав доступа'
|
||||
);
|
||||
?>
|
@ -1,33 +0,0 @@
|
||||
<?php
|
||||
// by Trirat Petchsingh <rosskouk#gmail.com>
|
||||
$ADODB_LANG_ARRAY = array (
|
||||
'LANG' => 'th',
|
||||
DB_ERROR => 'error ไม่รู้สาเหตุ',
|
||||
DB_ERROR_ALREADY_EXISTS => 'มี�ล้ว',
|
||||
DB_ERROR_CANNOT_CREATE => 'สร้างไม่ได้',
|
||||
DB_ERROR_CANNOT_DELETE => 'ลบไม่ได้',
|
||||
DB_ERROR_CANNOT_DROP => 'drop ไม่ได้',
|
||||
DB_ERROR_CONSTRAINT => 'constraint violation',
|
||||
DB_ERROR_DIVZERO => 'หา�ด้วยสู�',
|
||||
DB_ERROR_INVALID => 'ไม่ valid',
|
||||
DB_ERROR_INVALID_DATE => 'วันที่ เวลา ไม่ valid',
|
||||
DB_ERROR_INVALID_NUMBER => 'เลขไม่ valid',
|
||||
DB_ERROR_MISMATCH => 'mismatch',
|
||||
DB_ERROR_NODBSELECTED => 'ไม่ได้เลืà¸à¸?à¸?านข้à¸à¸¡à¸¹à¸¥',
|
||||
DB_ERROR_NOSUCHFIELD => 'ไม่มีฟีลด์นี้',
|
||||
DB_ERROR_NOSUCHTABLE => 'ไม่มีตารางนี้',
|
||||
DB_ERROR_NOT_CAPABLE => 'DB backend not capable',
|
||||
DB_ERROR_NOT_FOUND => 'ไม่พบ',
|
||||
DB_ERROR_NOT_LOCKED => 'ไม่ได้ล๊à¸à¸?',
|
||||
DB_ERROR_SYNTAX => 'ผิด syntax',
|
||||
DB_ERROR_UNSUPPORTED => 'ไม่ support',
|
||||
DB_ERROR_VALUE_COUNT_ON_ROW => 'value count on row',
|
||||
DB_ERROR_INVALID_DSN => 'invalid DSN',
|
||||
DB_ERROR_CONNECT_FAILED => 'ไม่สามารถ connect',
|
||||
0 => 'no error', // DB_OK
|
||||
DB_ERROR_NEED_MORE_DATA => 'ข้à¸à¸¡à¸¹à¸¥à¹„ม่เพียงพà¸',
|
||||
DB_ERROR_EXTENSION_NOT_FOUND=> 'ไม่พบ extension',
|
||||
DB_ERROR_NOSUCHDB => 'ไม่มีข้à¸à¸¡à¸¹à¸¥à¸™à¸µà¹‰',
|
||||
DB_ERROR_ACCESS_VIOLATION => 'permissions ไม่พà¸'
|
||||
);
|
||||
?>
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
V5.16 26 Mar 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
V5.17 17 May 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved.
|
||||
Released under both BSD license and Lesser GPL library license.
|
||||
Whenever there is any discrepancy between the two licenses,
|
||||
the BSD license will take precedence. See License.txt.
|
||||
|
@ -1,4 +1,4 @@
|
||||
Description of ADODB V5.16 library import into Moodle
|
||||
Description of ADODB V5.17 library import into Moodle
|
||||
|
||||
This library will be probably removed in Moodle 2.1,
|
||||
it is now used only in enrol and auth db plugins.
|
||||
@ -19,6 +19,6 @@ Added:
|
||||
* readme_moodle.txt - this file ;-)
|
||||
|
||||
Our changes:
|
||||
* fixed leading whitespace in adodb-active-record.inc.php
|
||||
* none
|
||||
|
||||
skodak, iarenaza, moodler, stronk7
|
||||
|
@ -4,7 +4,7 @@
|
||||
<location>adodb</location>
|
||||
<name>AdoDB</name>
|
||||
<license>GPL/BSD</license>
|
||||
<version>5.16</version>
|
||||
<version>5.17</version>
|
||||
<licenseversion>2.1+</licenseversion>
|
||||
</library>
|
||||
<library>
|
||||
|
Loading…
x
Reference in New Issue
Block a user