]>
Commit | Line | Data |
---|---|---|
d4760af2 JR |
1 | --- 3store-2.2.22/src/rdfsql/rdql.c~ 2005-07-18 19:54:59.000000000 +0200 |
2 | +++ 3store-2.2.22/src/rdfsql/rdql.c 2016-10-18 19:01:52.998317482 +0200 | |
3 | @@ -535,7 +535,7 @@ | |
4 | res->error_str = g_strdup_printf("SQL error in '%s' %d: %s\n", | |
5 | sql_query, mysql_errno(this->db), | |
6 | mysql_error(this->db)); | |
7 | - fprintf(stderr, res->error_str); | |
8 | + fprintf(stderr, "%s", res->error_str); | |
9 | fprintf(stderr, "Query: %s\n", sql_query); | |
10 | ||
11 | return res; | |
12 | --- 3store-2.2.22/src/tools/tstore_setup.c~ 2005-07-18 16:01:15.000000000 +0200 | |
13 | +++ 3store-2.2.22/src/tools/tstore_setup.c 2016-10-18 19:02:50.583911067 +0200 | |
14 | @@ -254,7 +254,7 @@ | |
15 | } | |
16 | } | |
17 | LOG(1, "SQL: "); | |
18 | - LOG(1, tmp); | |
19 | + LOG(1, "%s", tmp); | |
20 | LOG(1, "\n"); | |
21 | if (mysql_query(mdb, tmp)) { | |
22 | if (mysql_errno(mdb) == ER_TABLE_EXISTS_ERROR) { |