Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » MySqlSession::EnumTables -> why uppercase?
Re: MySqlSession::EnumTables -> why uppercase? [message #5288 is a reply to message #5287] Tue, 12 September 2006 15:32 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Actually, as MySQL uses separate file for each table, named the same as the table, it seems to make the sense.

Well, try this (MySql.cpp)

Vector<String> MySqlSession::EnumTables(String database)
{
	Vector<String> out;
	Sql cursor(*this);
	if(cursor.Execute("show tables from " + database))
		out = FetchList(cursor, false); //<< Here is the change
	return out;
}


(When the author of MySql interface code is available once again, I will ask him what he meant by uppercasing these names Smile

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OkCommit problem
Next Topic: select(*)
Goto Forum:
  


Current Time: Sun Aug 31 22:18:43 CEST 2025

Total time taken to generate the page: 0.05070 seconds