aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/driver_interface.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2014-07-04 21:08:36 +0200
committerNils Adermann <naderman@naderman.de>2014-07-04 21:08:36 +0200
commite97fab49e2ce73a8cc179a934ed8c0a05057bda3 (patch)
treeef1a9f196e258b2a1297b84b59583fdab65d59d7 /phpBB/phpbb/db/driver/driver_interface.php
parent4558262e2aaf31b4583a87622e97a46ead11537c (diff)
parent53ff23671c2706c13bbe8ecca6b29b3c3456768b (diff)
downloadforums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar.gz
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar.bz2
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.tar.xz
forums-e97fab49e2ce73a8cc179a934ed8c0a05057bda3.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12446] Unnecessary db connect inphpbb_bootstrap_enabled_exts
Diffstat (limited to 'phpBB/phpbb/db/driver/driver_interface.php')
-rw-r--r--phpBB/phpbb/db/driver/driver_interface.php84
1 files changed, 84 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/driver/driver_interface.php b/phpBB/phpbb/db/driver/driver_interface.php
index 7f7d341e2d..6722d059a5 100644
--- a/phpBB/phpbb/db/driver/driver_interface.php
+++ b/phpBB/phpbb/db/driver/driver_interface.php
@@ -16,6 +16,90 @@ namespace phpbb\db\driver;
interface driver_interface
{
/**
+ * Gets the name of the sql layer.
+ *
+ * @return string
+ */
+ public function get_sql_layer();
+
+ /**
+ * Gets the name of the database.
+ *
+ * @return string
+ */
+ public function get_db_name();
+
+ /**
+ * Wildcards for matching any (%) character within LIKE expressions
+ *
+ * @return string
+ */
+ public function get_any_char();
+
+ /**
+ * Wildcards for matching exactly one (_) character within LIKE expressions
+ *
+ * @return string
+ */
+ public function get_one_char();
+
+ /**
+ * Gets the time spent into the queries
+ *
+ * @return int
+ */
+ public function get_sql_time();
+
+ /**
+ * Gets the connect ID.
+ *
+ * @return mixed
+ */
+ public function get_db_connect_id();
+
+ /**
+ * Indicates if an error was triggered.
+ *
+ * @return bool
+ */
+ public function get_sql_error_triggered();
+
+ /**
+ * Gets the last faulty query
+ *
+ * @return string
+ */
+ public function get_sql_error_sql();
+
+ /**
+ * Indicates if we are in a transaction.
+ *
+ * @return bool
+ */
+ public function get_transaction();
+
+ /**
+ * Gets the returned error.
+ *
+ * @return array
+ */
+ public function get_sql_error_returned();
+
+ /**
+ * Indicates if multiple insertion can be used
+ *
+ * @return bool
+ */
+ public function get_multi_insert();
+
+ /**
+ * Set if multiple insertion can be used
+ *
+ * @param bool $multi_insert
+ */
+ public function set_multi_insert($multi_insert);
+
+ /**
* Gets the exact number of rows in a specified table.
*
* @param string $table_name Table name