mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
orm: fix select .. limit 1 . This case now returns an ?Row.
This commit is contained in:

committed by
Alexander Medvednikov

parent
151686501d
commit
49899c649c
@ -48,7 +48,7 @@ pub fn (nn int) str() string {
|
||||
return '0'
|
||||
}
|
||||
max := 16
|
||||
mut buf := malloc(max)
|
||||
mut buf := calloc(max)
|
||||
mut len := 0
|
||||
mut is_neg := false
|
||||
if n < 0 {
|
||||
|
Reference in New Issue
Block a user