summaryrefslogtreecommitdiff
path: root/lib/TUWF/DB.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-01-19 20:05:50 +0100
committerYorhel <git@yorhel.nl>2011-01-19 20:05:50 +0100
commitd3418f1899ad430c518b39c1f61da8dbba79fc6c (patch)
tree01b50ae94380b3dc43d41e1cebf0e8a082303be9 /lib/TUWF/DB.pm
parentfe9092786301e98e1639af870ec48f1e9f95aec3 (diff)
TUWF::DB: Allow exporting of sqlprint()
Diffstat (limited to 'lib/TUWF/DB.pm')
-rw-r--r--lib/TUWF/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TUWF/DB.pm b/lib/TUWF/DB.pm
index c35214b..8537483 100644
--- a/lib/TUWF/DB.pm
+++ b/lib/TUWF/DB.pm
@@ -10,6 +10,7 @@ our @EXPORT = qw|
dbInit dbCheck dbDisconnect dbCommit dbRollBack
dbExec dbRow dbAll dbPage
|;
+our @EXPORT_OK = ('sqlprint');
sub dbInit {
@@ -143,7 +144,6 @@ sub sqlhelper { # type, query, @list
# !s the classic sprintf %s, use with care
# This isn't sprintf, so all other things won't work,
# Only the ? placeholder is supported, so no dollar sign numbers or named placeholders
-# Indeed, this also means you can't use PgSQL operators containing a question mark
sub sqlprint { # query, bind values. Returns new query + bind values
my @a;