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