Re: [sqlite] What this function returns?

2013-11-29 Thread Harold Wood
Lol so call you igor? -Original Message- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of John McKown Sent: Friday, November 29, 2013 8:10 PM To: rsm...@rsweb.co.za; General Discussion of SQLite Database Subject: Re: [sqlite] What this function

Re: [sqlite] What this function returns?

2013-11-29 Thread John McKown
Ah, found it. http://msdn.microsoft.com/en-us/library/s3f49ktz.aspx __int64, unsigned __int64, long long, unsigned long long, -- > This is clearly another case of too many mad scientists, and not enough > hunchbacks. > > Maranatha! <>< > John McKown > -- This is clearly another case of too

Re: [sqlite] What this function returns?

2013-11-29 Thread John McKown
On Fri, Nov 29, 2013 at 9:47 PM, RSmith wrote: > > The fact that the app compiles is no great precursor to its success in the > wild. The thing you are avoiding is not a dependancy - 64 bit types should > be easy in any platform and I know Windows (anything after XP anyway)

Re: [sqlite] What this function returns?

2013-11-29 Thread RSmith
On 2013/11/30 05:28, Igor Korot wrote: As you can see from http://sqlite.org/c3ref/last_insert_rowid.html, it returns sqlite3_int64, a signed 64-bit integer type. The C99 name and I think the C++11 name for this is int64_t, which is probably what you want, but I vaguely recall the Microsoft

Re: [sqlite] What this function returns?

2013-11-29 Thread Igor Korot
Simon, On Fri, Nov 29, 2013 at 7:33 PM, Simon Slavin wrote: > > On 30 Nov 2013, at 3:28am, Igor Korot wrote: > >> Also I am compiling 32-bit app on both platforms. > > Do you absolutely need to compile 32-bit for Macs ? There are almost no Macs >

Re: [sqlite] What this function returns?

2013-11-29 Thread Simon Slavin
On 30 Nov 2013, at 3:28am, Igor Korot wrote: > Also I am compiling 32-bit app on both platforms. Do you absolutely need to compile 32-bit for Macs ? There are almost no Macs which can't handle 64-bit left, and 64-bit apps are faster and mode compatible with everything

Re: [sqlite] What this function returns?

2013-11-29 Thread Igor Korot
Drake, On Fri, Nov 29, 2013 at 7:04 PM, Drake Wilson wrote: > Quoth Igor Korot , on 2013-11-29 18:49:05 -0800: >> Trying to change the return type to long does not solve the warning. >> >> Which value should this function return? > > As you can see from

Re: [sqlite] What this function returns?

2013-11-29 Thread Drake Wilson
Quoth Igor Korot , on 2013-11-29 18:49:05 -0800: > Trying to change the return type to long does not solve the warning. > > Which value should this function return? As you can see from http://sqlite.org/c3ref/last_insert_rowid.html, it returns sqlite3_int64, a signed 64-bit