Home » U++ Library support » U++ SQL » MySql basic example
MySql basic example [message #18124] |
Thu, 11 September 2008 09:55 |
|
koldo
Messages: 3372 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
|
|
|
Goto Forum:
Current Time: Thu Jun 06 23:14:53 CEST 2024
Total time taken to generate the page: 0.01692 seconds
|