* rename function in 7.2 and below doesn't come back to the correct function
* Fix SQL window parent update to not update any random window
* Show owner on privileges screen?
- http://devilock.mine.nu/textarea_tab.html
-* fix test for MINGW backend
+* Allows tabs in textareas on IE: http://devilock.mine.nu/textarea_tab.html
* add help links everywhere. fix formatting of help links.
* Deal with named parameters that have ',' in the type name
* Allow setting schema search path in SQL window
* Allow filtering find results by object type
* Show function arguments in find results
+* Support 7.5's named function arguments
Translations
* Arabic from Zaki
/*
* Parent class of all ADODB objects.
*
- * $Id: ADODB_base.php,v 1.18 2004/07/13 09:00:40 chriskl Exp $
+ * $Id: ADODB_base.php,v 1.19 2004/07/19 03:01:53 chriskl Exp $
*/
include_once('./libraries/errorhandler.inc.php');
class ADODB_base {
var $conn;
+
+ // The backend platform. Set to UNKNOWN by default.
+ var $platform = 'UNKNOWN';
/**
* Base constructor
* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres.php,v 1.240 2004/07/16 16:01:06 soranzo Exp $
+ * $Id: Postgres.php,v 1.241 2004/07/19 03:01:53 chriskl Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
return $this->selectSet($sql);
}
-
+
/**
* Determines whether or not a user is a super user
* @param $username The username of the user
/**
* PostgreSQL 7.5 support
*
- * $Id: Postgres75.php,v 1.14 2004/07/13 09:00:40 chriskl Exp $
+ * $Id: Postgres75.php,v 1.15 2004/07/19 03:01:54 chriskl Exp $
*/
include_once('./classes/database/Postgres74.php');
}
function hasAlterColumnType() { return true; }
- function hasTablespaces() {
- $platform = $this->getPlatform();
- return $platform != 'MINGW';
- }
+ function hasTablespaces() { return $this->platform != 'MINGW'; }
function hasSignals() { return true; }
function hasNamedParams() { return true; }
/**
* Overrides default ADODB error handler to provide nicer error handling.
*
- * $Id: errorhandler.inc.php,v 1.15 2004/06/18 14:47:21 soranzo Exp $
+ * $Id: errorhandler.inc.php,v 1.16 2004/07/19 03:01:54 chriskl Exp $
*/
define('ADODB_ERROR_HANDLER','Error_Handler');
case 'EXECUTE':
$sql = $p1;
$inputparams = $p2;
-
+
$s = "<p><b>{$lang['strsqlerror']}</b><br />" . $misc->printVal($errmsg) . "</p>
<p><b>{$lang['strinstatement']}</b><br />" . $misc->printVal($sql) . "</p>
";
/**
* Function library read in upon startup
*
- * $Id: lib.inc.php,v 1.82 2004/07/12 01:35:46 chriskl Exp $
+ * $Id: lib.inc.php,v 1.83 2004/07/19 03:01:54 chriskl Exp $
*/
// Set error reporting level to max
// connection.
require_once('./classes/database/' . $_type . '.php');
$data = new $_type($_connection->conn);
+ $data->platform = $_connection->platform;
// If schema is defined and database supports schemas, then set the
// schema explicitly.