projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89acbd6
)
[mysql] show the actual view name instead of database name on error.
author
Dmitry Blokhin
<santafox@gmail.com>
Mon, 20 Jan 2014 22:41:57 +0000
(
00:41
+0200)
committer
Jonathan Marshall
<jmarshall@xbmc.org>
Wed, 5 Feb 2014 20:27:30 +0000
(09:27 +1300)
xbmc/dbwrappers/mysqldataset.cpp
patch
|
blob
|
history
diff --git
a/xbmc/dbwrappers/mysqldataset.cpp
b/xbmc/dbwrappers/mysqldataset.cpp
index
523e621
..
8512e28
100644
(file)
--- a/
xbmc/dbwrappers/mysqldataset.cpp
+++ b/
xbmc/dbwrappers/mysqldataset.cpp
@@
-303,7
+303,7
@@
int MysqlDatabase::copy(const char *backup_name) {
if ( (ret=query_with_reconnect(sql)) != MYSQL_OK )
{
mysql_free_result(resViews);
- throw DbErrors("Can't create view '%s'\nError: %s",
db.c_str()
, ret);
+ throw DbErrors("Can't create view '%s'\nError: %s",
row[0]
, ret);
}
}
mysql_free_result(resViews);