0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

fixed appveyor build

This commit is contained in:
sliser 2015-12-28 16:42:26 +03:00
parent 292bc8dd28
commit b812ed5120
26 changed files with 26 additions and 26 deletions

View File

@ -27,7 +27,7 @@
#include "MockDb.h" #include "MockDb.h"
#include <sqlpp11/sqlpp11.h> #include <sqlpp11/sqlpp11.h>
int insert(int, char**) int insert(int, char*[])
{ {
MockDb db{}; MockDb db{};

View File

@ -63,7 +63,7 @@ SQLPP_DECLARE_TABLE(
) )
// clang-format on // clang-format on
int ppgen(int, char**) int ppgen(int, char*[])
{ {
MockDb db{}; MockDb db{};
const auto p = tab_person::tab_person{}; const auto p = tab_person::tab_person{};

View File

@ -27,7 +27,7 @@
#include "MockDb.h" #include "MockDb.h"
#include <sqlpp11/sqlpp11.h> #include <sqlpp11/sqlpp11.h>
int remove(int, char**) int remove(int, char*[])
{ {
MockDb db{}; MockDb db{};

View File

@ -36,7 +36,7 @@
SQLPP_ALIAS_PROVIDER(cheesecake) SQLPP_ALIAS_PROVIDER(cheesecake)
int select(int, char**) int select(int, char*[])
{ {
static constexpr bool some_condition = true; static constexpr bool some_condition = true;
static constexpr bool some_other_condition = false; static constexpr bool some_other_condition = false;

View File

@ -27,7 +27,7 @@
#include "MockDb.h" #include "MockDb.h"
#include <sqlpp11/sqlpp11.h> #include <sqlpp11/sqlpp11.h>
int update(int, char**) int update(int, char*[])
{ {
MockDb db{}; MockDb db{};

View File

@ -123,7 +123,7 @@ namespace
} }
} }
int main(int, char**) int main(int, char*[])
{ {
no_group_by(); no_group_by();
dynamic_group_by(); dynamic_group_by();

View File

@ -152,7 +152,7 @@ namespace
} }
} }
int main(int, char**) int main(int, char*[])
{ {
when(); when();
then(); then();

View File

@ -83,7 +83,7 @@ namespace
} }
} }
int main(int, char**) int main(int, char*[])
{ {
allowed_comparands(); allowed_comparands();
disallowed_comparands(); disallowed_comparands();

View File

@ -83,7 +83,7 @@ namespace
} }
} }
int main(int, char**) int main(int, char*[])
{ {
allowed_comparands(); allowed_comparands();
disallowed_comparands(); disallowed_comparands();

View File

@ -168,7 +168,7 @@ namespace
} }
} }
int main(int, char**) int main(int, char*[])
{ {
static_set(); static_set();
dynamic_set(); dynamic_set();

View File

@ -143,7 +143,7 @@ namespace
} }
} }
int main(int, char**) int main(int, char*[])
{ {
static_where(); static_where();
dynamic_where(); dynamic_where();

View File

@ -28,7 +28,7 @@
#include "MockDb.h" #include "MockDb.h"
#include <sqlpp11/sqlpp11.h> #include <sqlpp11/sqlpp11.h>
int BooleanExpression(int, char**) int BooleanExpression(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
const auto t = test::TabBar{}; const auto t = test::TabBar{};

View File

@ -29,7 +29,7 @@
#include <sqlpp11/sqlpp11.h> #include <sqlpp11/sqlpp11.h>
#include <sqlpp11/custom_query.h> #include <sqlpp11/custom_query.h>
int CustomQuery(int, char**) int CustomQuery(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -30,7 +30,7 @@
SQLPP_ALIAS_PROVIDER(now) SQLPP_ALIAS_PROVIDER(now)
int DateTime(int, char**) int DateTime(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -35,7 +35,7 @@
SQLPP_ALIAS_PROVIDER(kaesekuchen) SQLPP_ALIAS_PROVIDER(kaesekuchen)
int Function(int, char**) int Function(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
const auto f = test::TabFoo{}; const auto f = test::TabFoo{};

View File

@ -30,7 +30,7 @@
#include <sqlpp11/functions.h> #include <sqlpp11/functions.h>
#include <iostream> #include <iostream>
int Insert(int, char**) int Insert(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -29,7 +29,7 @@
#include <iostream> #include <iostream>
int Interpret(int, char**) int Interpret(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -1,6 +1,6 @@
#include <sqlpp11/sqlpp11.h> #include <sqlpp11/sqlpp11.h>
int Minimalistic(int, char**) int Minimalistic(int, char*[])
{ {
return 0; return 0;
} }

View File

@ -29,7 +29,7 @@
#include <sqlpp11/functions.h> #include <sqlpp11/functions.h>
#include <sqlpp11/select.h> #include <sqlpp11/select.h>
int Prepared(int, char**) int Prepared(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
// test::TabFoo f; // test::TabFoo f;

View File

@ -29,7 +29,7 @@
#include "MockDb.h" #include "MockDb.h"
#include "is_regular.h" #include "is_regular.h"
int Remove(int, char**) int Remove(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -31,7 +31,7 @@
static_assert(not sqlpp::enforce_null_result_treatment_t<MockDb>::value, "MockDb interprets NULL as trivial"); static_assert(not sqlpp::enforce_null_result_treatment_t<MockDb>::value, "MockDb interprets NULL as trivial");
static_assert(sqlpp::enforce_null_result_treatment_t<EnforceDb>::value, "MockDb does not interpret NULL as trivial"); static_assert(sqlpp::enforce_null_result_treatment_t<EnforceDb>::value, "MockDb does not interpret NULL as trivial");
int Result(int, char**) int Result(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
EnforceDb edb{}; EnforceDb edb{};

View File

@ -42,7 +42,7 @@ int64_t getColumn(Db&& db, const Column& column)
return 0; return 0;
} }
int Select(int, char**) int Select(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -40,7 +40,7 @@ namespace alias
SQLPP_ALIAS_PROVIDER(right) SQLPP_ALIAS_PROVIDER(right)
} }
int SelectType(int, char**) int SelectType(int, char*[])
{ {
MockDb db = {}; MockDb db = {};
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -29,7 +29,7 @@
#include <sqlpp11/alias_provider.h> #include <sqlpp11/alias_provider.h>
#include <iostream> #include <iostream>
int Union(int, char**) int Union(int, char*[])
{ {
MockDb db; MockDb db;
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -29,7 +29,7 @@
#include "MockDb.h" #include "MockDb.h"
#include "is_regular.h" #include "is_regular.h"
int Update(int, char**) int Update(int, char*[])
{ {
MockDb db; MockDb db;
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};

View File

@ -29,7 +29,7 @@
#include <sqlpp11/alias_provider.h> #include <sqlpp11/alias_provider.h>
#include <iostream> #include <iostream>
int With(int, char**) int With(int, char*[])
{ {
MockDb db; MockDb db;
MockDb::_serializer_context_t printer = {}; MockDb::_serializer_context_t printer = {};