Skip to content

Commit

Permalink
Bug# 20730103 BACKPORT 19688008 TO 5.1
Browse files Browse the repository at this point in the history
Problem: UDF doesn't handle the arguments properly when they
         are of string type due to a misplaced break.
         The length of arguments is also not set properly
         when the argument is NULL.

Solution: Fixed the code by putting the break at right place
          and setting the argument length to zero when the
          argument is NULL.

Conflicts:
	sql/item_func.cc
  • Loading branch information
Vamsikrishna Bhagi authored and inaam-rana committed Jun 12, 2015
1 parent d2adca3 commit 3bdba45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/item_func.cc
@@ -1,4 +1,4 @@
/* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2012, Twitter, Inc.
This program is free software; you can redistribute it and/or modify
Expand Down

0 comments on commit 3bdba45

Please sign in to comment.