Skip to content

Commit 62e3d66

Browse files
committed
Merge remote-tracking branch 'upstream/52-stable' into merging_branch
2 parents 001c07c + 8227875 commit 62e3d66

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/arjdbc/db2/adapter.rb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -704,11 +704,10 @@ def reorg_table(table_name, name = nil)
704704

705705
# alias_method :execute_and_auto_confirm, :execute
706706

707-
# Returns the value of an identity column of the last *INSERT* statement
708-
# made over this connection.
707+
# Returns the value of an identity column of the last *INSERT* statement made over this connection.
709708
# @note Check the *IDENTITY_VAL_LOCAL* function for documentation.
710-
# @return [Fixnum]
711-
def last_insert_id
709+
# @return [Integer, NilClass]
710+
def last_inserted_id(result)
712711
@connection.identity_val_local
713712
end
714713

0 commit comments

Comments
 (0)