Hi all. Does anyone has a good reason to NOT change this line https://github.com/web2py/web2py/blob/master/gluon/dal.py#L1255
to if not isinstance(id,int) ? For some obscure reason, when the datatype for inserts and such got "long"s all the way, this remained untouched.... I'm asking 'cause I'm testing the DAL with MSSQL and this makes them fail, cause the last_insert_id in MSSQL is always returned as a "long", but when you do id = db.person.insert(name='whatever') you just get back the "long" without the reference attached to make this work id.name == 'whatever' -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.