Changeset 41ad8ed in network-game for server/DataAccess.cpp
- Timestamp:
- Dec 3, 2012, 12:27:01 AM (13 years ago)
- Branches:
- master
- Children:
- cbc595d
- Parents:
- 87b3ee2
- File:
- 
      - 1 edited
 
 - 
          
  server/DataAccess.cpp (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      server/DataAccess.cppr87b3ee2 r41ad8ed 43 43 result = select("users", oss.str().c_str()); 44 44 45 cout << "Got result" << endl; 46 45 47 if (result == NULL) { 48 cout << "Error occured" << endl; 46 49 cout << mysql_error(connection) << endl; 47 50 return NULL; … … 50 53 if ( ( row = mysql_fetch_row(result)) != NULL ) 51 54 p = new Player(string(row[1]), string(row[2])); 52 else 55 else { 56 cout << "Returned no results for some reason" << endl; 53 57 p = NULL; 58 } 54 59 55 60 mysql_free_result(result); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/medieval/chrome/site/your_project_logo.png)
