Home » U++ Library support » U++ SQL » MySql basic example
MySql basic example [message #18124] |
Thu, 11 September 2008 09:55 |
|
koldo
Messages: 3356 Registered: August 2008
|
Senior Veteran |
|
|
Hello all
Trying to compile the AllForI18n I have got an error. To know the reason I also tried to compile the SQL_MySql basic sample and I have got the same compiling error:
C:\upp\uppsrc\MySql/MySql.h(44) : error C2143: syntax error : missing ';' before '*'
Next is the code in MySql.h:
class MySqlSession : public SqlSession {
public:
virtual bool IsOpen() const;
virtual RunScript GetRunScript() const { return &MySqlPerformScript; }
virtual Vector<String> EnumUsers();
virtual Vector<String> EnumDatabases();
virtual Vector<String> EnumTables(String database);
protected:
virtual SqlConnection *CreateConnection();
private:
MYSQL *mysql; <<-- Here is the error(line 44)
It seems like MYSQL symbol is not right.
Best regards
Koldo
Best regards
Iñaki
|
|
|
|
Re: MySql basic example [message #18282 is a reply to message #18125] |
Sat, 20 September 2008 00:29 |
|
koldo
Messages: 3356 Registered: August 2008
|
Senior Veteran |
|
|
Hello zsolt
Thank you for your answer. I have installed MySql and tried to compile the sample again but I get errors.
As my only reason for compiling the sample was to compile the AllForI18n project and as it is not necessary to do it to translate Upp... so that's all for now. Thank you again.
Best regards
Koldo
Best regards
Iñaki
|
|
|
Goto Forum:
Current Time: Fri Apr 19 03:49:06 CEST 2024
Total time taken to generate the page: 0.03260 seconds
|