summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/ibase/ibase_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-09-16 11:06:40 +0200
committerAndrey Andreev <narf@devilix.net>2016-09-16 11:06:40 +0200
commit0a4dd844b8a3d6edb7712d3bb4edf1b4f0e9dc4c (patch)
treec0f924a12da9910e82873f6b202bd34e6b9b5ad5 /system/database/drivers/ibase/ibase_driver.php
parent442ea6861a5fdfb9780e79b00875e55cdab3f6ff (diff)
[ci skip] Don't try to insert_batch() when we know it's not supported on Firebird
Diffstat (limited to 'system/database/drivers/ibase/ibase_driver.php')
-rw-r--r--system/database/drivers/ibase/ibase_driver.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/database/drivers/ibase/ibase_driver.php b/system/database/drivers/ibase/ibase_driver.php
index c1055c1e6..671a353bc 100644
--- a/system/database/drivers/ibase/ibase_driver.php
+++ b/system/database/drivers/ibase/ibase_driver.php
@@ -384,6 +384,23 @@ class CI_DB_ibase_driver extends CI_DB {
// --------------------------------------------------------------------
/**
+ * Insert batch statement
+ *
+ * Generates a platform-specific insert string from the supplied data.
+ *
+ * @param string $table Table name
+ * @param array $keys INSERT keys
+ * @param array $values INSERT values
+ * @return string|bool
+ */
+ protected function _insert_batch($table, $keys, $values)
+ {
+ return ($this->db->db_debug) ? $this->db->display_error('db_unsupported_feature') : FALSE;
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
* Close DB Connection
*
* @return void