summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/ibase
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-01-12 11:33:37 +0100
committerAndrey Andreev <narf@devilix.net>2015-01-12 11:33:37 +0100
commit5350f056698168061ffde1ba62e8db1715101446 (patch)
treefe3257e417dab12f1f4053308a5a281d0640b721 /system/database/drivers/ibase
parent50518a3887776b0b2b67f445cc0434017e9b71f6 (diff)
Change CI_DB_driver::field_data() signature
The parameter is mandatory, it doesn't make sense to have a default empty string value only to check for it.
Diffstat (limited to 'system/database/drivers/ibase')
-rw-r--r--system/database/drivers/ibase/ibase_driver.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/database/drivers/ibase/ibase_driver.php b/system/database/drivers/ibase/ibase_driver.php
index aac606886..20c5d9c57 100644
--- a/system/database/drivers/ibase/ibase_driver.php
+++ b/system/database/drivers/ibase/ibase_driver.php
@@ -264,13 +264,8 @@ class CI_DB_ibase_driver extends CI_DB {
* @param string $table
* @return array
*/
- public function field_data($table = '')
+ public function field_data($table)
{
- if ($table === '')
- {
- return ($this->db_debug) ? $this->display_error('db_field_param_missing') : FALSE;
- }
-
$sql = 'SELECT "rfields"."RDB$FIELD_NAME" AS "name",
CASE "fields"."RDB$FIELD_TYPE"
WHEN 7 THEN \'SMALLINT\'