|
|
@ -299,7 +299,7 @@ func GetRow(dbconn *sql.DB, dbName, table_name, alias string, titles string, joi |
|
|
|
} else { |
|
|
|
title = "*" |
|
|
|
} |
|
|
|
sql_str = StringJoin("/*slave*/ select ", title) |
|
|
|
sql_str = StringJoin("select ", title) |
|
|
|
|
|
|
|
if alias != "" { |
|
|
|
table = StringJoin(table, " as ", alias) |
|
|
@ -429,7 +429,7 @@ func FetchRows(dbconn *sql.DB, dbName, table_name, alias string, titles string, |
|
|
|
} else { |
|
|
|
title = "*" |
|
|
|
} |
|
|
|
sql_str = StringJoin("/*slave*/ select ", title) |
|
|
|
sql_str = StringJoin("select ", title) |
|
|
|
|
|
|
|
if alias != "" { |
|
|
|
table = StringJoin(table, " as ", alias) |
|
|
|