summaryrefslogtreecommitdiff
path: root/ext/pdo/tests/pdo.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/tests/pdo.inc')
-rw-r--r--ext/pdo/tests/pdo.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/pdo/tests/pdo.inc b/ext/pdo/tests/pdo.inc
new file mode 100644
index 0000000..8089236
--- /dev/null
+++ b/ext/pdo/tests/pdo.inc
@@ -0,0 +1,10 @@
+<?php
+
+function set_sql($name, $query)
+{
+ if (empty($GLOBALS['SQL'][$name]))
+ {
+ $GLOBALS['SQL'][$name] = $query;
+ }
+}
+?>