mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 21:30:12 +03:00
Range API needs size_t for .length.
This commit is contained in:
parent
61f0e5ed48
commit
47bacf0456
5 changed files with 6 additions and 6 deletions
2
mysql.d
2
mysql.d
|
@ -72,7 +72,7 @@ class MySqlResult : ResultSet {
|
|||
}
|
||||
|
||||
|
||||
override int length() {
|
||||
override size_t length() {
|
||||
if(result is null)
|
||||
return 0;
|
||||
return cast(int) mysql_num_rows(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue