mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 00:32:25 +00:00
my_ulong_long to unsigned long explicit
This commit is contained in:
parent
b07d3ee5c6
commit
8a63d64d9e
@ -31,11 +31,11 @@ unsigned int EQDB::field_count() {
|
||||
}
|
||||
|
||||
unsigned long EQDB::affected_rows() {
|
||||
return mysql_affected_rows(mysql_ref);
|
||||
return (unsigned long)mysql_affected_rows(mysql_ref);
|
||||
}
|
||||
|
||||
unsigned long EQDB::insert_id() {
|
||||
return mysql_insert_id(mysql_ref);
|
||||
return (unsigned long)mysql_insert_id(mysql_ref);
|
||||
}
|
||||
|
||||
unsigned int EQDB::get_errno() {
|
||||
|
||||
@ -32,8 +32,8 @@ public:
|
||||
~EQDBRes() { finish(); }
|
||||
|
||||
//BEGIN PERL EXPORT
|
||||
unsigned long num_rows() { return (res) ? mysql_num_rows(res) : 0; }
|
||||
unsigned long num_fields() { return (res) ? mysql_num_fields(res) : 0; }
|
||||
unsigned long num_rows() { return (res) ? (unsigned long)mysql_num_rows(res) : 0; }
|
||||
unsigned long num_fields() { return (res) ? (unsigned long)mysql_num_fields(res) : 0; }
|
||||
void DESTROY() { }
|
||||
void finish() { if (res) mysql_free_result(res); res=nullptr; };
|
||||
std::vector<std::string> fetch_row_array();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user