mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 00:57:15 +00:00
[Repositories] Regenerate repositories with int64 support, reserved word support (#1440)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* This repository was automatically generated and is NOT to be modified directly.
|
||||
* Any repository modifications are meant to be made to the repository extending the base.
|
||||
* Any modifications to base repositories are to be made by the generator only
|
||||
*
|
||||
*
|
||||
* @generator ./utils/scripts/generators/repository-generator.pl
|
||||
* @docs https://eqemu.gitbook.io/server/in-development/developer-area/repositories
|
||||
*/
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
int checkouts;
|
||||
int unavailables;
|
||||
int ischeckedout;
|
||||
int senttime;
|
||||
int64 senttime;
|
||||
};
|
||||
|
||||
static std::string PrimaryKey()
|
||||
@@ -161,7 +161,7 @@ public:
|
||||
entry.checkouts = atoi(row[12]);
|
||||
entry.unavailables = atoi(row[13]);
|
||||
entry.ischeckedout = atoi(row[14]);
|
||||
entry.senttime = atoi(row[15]);
|
||||
entry.senttime = strtoll(row[15], NULL, 10);
|
||||
|
||||
return entry;
|
||||
}
|
||||
@@ -340,7 +340,7 @@ public:
|
||||
entry.checkouts = atoi(row[12]);
|
||||
entry.unavailables = atoi(row[13]);
|
||||
entry.ischeckedout = atoi(row[14]);
|
||||
entry.senttime = atoi(row[15]);
|
||||
entry.senttime = strtoll(row[15], NULL, 10);
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
@@ -380,7 +380,7 @@ public:
|
||||
entry.checkouts = atoi(row[12]);
|
||||
entry.unavailables = atoi(row[13]);
|
||||
entry.ischeckedout = atoi(row[14]);
|
||||
entry.senttime = atoi(row[15]);
|
||||
entry.senttime = strtoll(row[15], NULL, 10);
|
||||
|
||||
all_entries.push_back(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user