diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-02 18:56:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-02 18:56:27 +0300 |
commit | 451b3fac158ca3586a149fa64fe10f86ec140a43 (patch) | |
tree | 01738484d7222e3b637e17142bea18152f504166 /src/common/sql.c | |
parent | cb2769b8b3b18c90b017f600654ce494ff260f9f (diff) | |
parent | b4f015cb31ec2cb60c45b22bd17e0e05fcd6be41 (diff) | |
download | hercules-451b3fac158ca3586a149fa64fe10f86ec140a43.tar.gz hercules-451b3fac158ca3586a149fa64fe10f86ec140a43.tar.bz2 hercules-451b3fac158ca3586a149fa64fe10f86ec140a43.tar.xz hercules-451b3fac158ca3586a149fa64fe10f86ec140a43.zip |
Merge pull request #1453 from HerculesWS/gitlab
Added GitLab CI configuration
Diffstat (limited to 'src/common/sql.c')
-rw-r--r-- | src/common/sql.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/sql.c b/src/common/sql.c index 7e3e2e46f..8da105872 100644 --- a/src/common/sql.c +++ b/src/common/sql.c @@ -664,8 +664,8 @@ int SqlStmt_BindParam(struct SqlStmt *self, size_t idx, enum SqlDataType buffer_ if (idx >= self->max_params) return SQL_SUCCESS; // out of range - ignore -PRAGMA_GCC45(GCC diagnostic push) -PRAGMA_GCC45(GCC diagnostic ignored "-Wcast-qual") +PRAGMA_GCC46(GCC diagnostic push) +PRAGMA_GCC46(GCC diagnostic ignored "-Wcast-qual") /* * MySQL uses the same struct with a non-const buffer for both * parameters (input) and columns (output). @@ -673,7 +673,7 @@ PRAGMA_GCC45(GCC diagnostic ignored "-Wcast-qual") * dropping a const qualifier here. */ return Sql_P_BindSqlDataType(self->params+idx, buffer_type, (void *)buffer, buffer_len, NULL, NULL); -PRAGMA_GCC45(GCC diagnostic pop) +PRAGMA_GCC46(GCC diagnostic pop) } /// Executes the prepared statement. |