aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-26 14:29:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-26 14:29:16 +0200
commitc19669147e4d54f17fcc2c9cf6066b59956fa188 (patch)
treed02315cd0c07bcdf9472363256464039fe52d9a2
parentdb4e95841ed7d6d9eb008116bc74d25383fe001d (diff)
Remove unnecessary variable, parameter list
-rw-r--r--mssql/stored-proc/driver.cxx1
-rw-r--r--mssql/stored-proc/test.hxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/mssql/stored-proc/driver.cxx b/mssql/stored-proc/driver.cxx
index 2878486..afb5fe5 100644
--- a/mssql/stored-proc/driver.cxx
+++ b/mssql/stored-proc/driver.cxx
@@ -182,7 +182,6 @@ main (int argc, char* argv[])
"AS"
" DECLARE @id INT;"
" DECLARE @ret INT;"
- " DECLARE @tbl TABLE(dummy INT);"
" EXEC @ret = insert_object_id @n, @s, @id OUTPUT;"
" SELECT @ret, @id;");
diff --git a/mssql/stored-proc/test.hxx b/mssql/stored-proc/test.hxx
index d302630..cb02920 100644
--- a/mssql/stored-proc/test.hxx
+++ b/mssql/stored-proc/test.hxx
@@ -44,7 +44,7 @@ struct select_objects
std::string str;
};
-#pragma db view query("EXEC objects_min_max_odb (?)")
+#pragma db view query("EXEC objects_min_max_odb")
struct objects_min_max
{
unsigned int num_min;