aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/statement.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-12 17:24:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-12 17:24:44 +0200
commita049724c258a42af57d1ff572c3d15a3678e3875 (patch)
tree17180c89cedc2e137824f5569e0bc2078eaf10b1 /odb/mssql/statement.cxx
parentd3261c7ed4ac622c8807ba88b39bd41632577c4f (diff)
Completion of prepared query support
Diffstat (limited to 'odb/mssql/statement.cxx')
-rw-r--r--odb/mssql/statement.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/odb/mssql/statement.cxx b/odb/mssql/statement.cxx
index 079d7f8..524fc06 100644
--- a/odb/mssql/statement.cxx
+++ b/odb/mssql/statement.cxx
@@ -95,14 +95,14 @@ namespace odb
//
statement::
- statement (connection& conn, const string& text)
+ statement (connection_type& conn, const string& text)
: conn_ (conn), text_copy_ (text), text_ (text_copy_.c_str ())
{
init (text_copy_.size ());
}
statement::
- statement (connection& conn, const char* text, bool copy)
+ statement (connection_type& conn, const char* text, bool copy)
: conn_ (conn)
{
size_t n;
@@ -700,7 +700,7 @@ namespace odb
}
select_statement::
- select_statement (connection& conn,
+ select_statement (connection_type& conn,
const string& t,
binding& param,
binding& result)
@@ -711,7 +711,7 @@ namespace odb
}
select_statement::
- select_statement (connection& conn,
+ select_statement (connection_type& conn,
const char* t,
binding& param,
binding& result,
@@ -723,14 +723,14 @@ namespace odb
}
select_statement::
- select_statement (connection& conn, const string& t, binding& result)
+ select_statement (connection_type& conn, const string& t, binding& result)
: statement (conn, t), result_ (result)
{
first_long_ = bind_result (result.bind, result.count);
}
select_statement::
- select_statement (connection& conn,
+ select_statement (connection_type& conn,
const char* t,
binding& result,
bool ct)
@@ -792,7 +792,7 @@ namespace odb
}
insert_statement::
- insert_statement (connection& conn,
+ insert_statement (connection_type& conn,
const string& t,
binding& param,
bool returning)
@@ -805,7 +805,7 @@ namespace odb
}
insert_statement::
- insert_statement (connection& conn,
+ insert_statement (connection_type& conn,
const char* t,
binding& param,
bool returning,
@@ -953,14 +953,14 @@ namespace odb
}
update_statement::
- update_statement (connection& conn, const string& t, binding& param)
+ update_statement (connection_type& conn, const string& t, binding& param)
: statement (conn, t)
{
bind_param (param.bind, param.count);
}
update_statement::
- update_statement (connection& conn,
+ update_statement (connection_type& conn,
const char* t,
binding& param,
bool ct)
@@ -1003,14 +1003,14 @@ namespace odb
}
delete_statement::
- delete_statement (connection& conn, const string& t, binding& param)
+ delete_statement (connection_type& conn, const string& t, binding& param)
: statement (conn, t)
{
bind_param (param.bind, param.count);
}
delete_statement::
- delete_statement (connection& conn,
+ delete_statement (connection_type& conn,
const char* t,
binding& param,
bool ct)