1. 28 Mar, 2007 2 commits
    • unknown's avatar
      Bug#27490 Function to log to NT event log could allocate memory · 1747a6b6
      unknown authored
      - Change 'print_buffer_to_nt_event_log' to overwrite the string
      if the buffer is not long enough to hold the ending CR/LF's
      - Make functions static
      - Remove the "hack" intended to force 'print_buffer_to_nt_event_log'
       never to use "new"
      
      
      sql/log.cc:
        -Change 'print_buffer_to_nt_event_log' to overwrite the string
        if the buffer is not long enough to hold the ending CR/LF's
        - Make functions static
        - Remove the "hack" intended to force 'print_buffer_to_nt_event_log'
         never to use "new"
      1747a6b6
    • unknown's avatar
      Bug#25197 repeat function returns null when using table field directly as count · e9b606bf
      unknown authored
       - Add extra test case from bug#27073
       - Change "if" to be optimized for count > 0
      
      
      mysql-test/r/func_str.result:
        Add test case from bug#27073
      mysql-test/t/func_str.test:
        Add test case from bug#27073
      sql/item_strfunc.cc:
        Change the if statemnet to be optimized for the normal case where count > 0
      e9b606bf
  2. 23 Feb, 2007 1 commit
    • unknown's avatar
      Bug#25197 repeat function returns null when using table field directly as count · d79f0973
      unknown authored
       - Return empty string also if count is unsigned and value is 0
      
      
      mysql-test/r/func_str.result:
        Update test result
      mysql-test/t/func_str.test:
        Add test case for using an unsigned value as count parameter
        for REPEAT
      sql/item_strfunc.cc:
        The repeat function should return the emptystring if
        count is unsigned and equal to zero or
        count is signed and less than or equal to zero
      d79f0973
  3. 06 Feb, 2007 24 commits
  4. 05 Feb, 2007 3 commits
  5. 03 Feb, 2007 1 commit
  6. 02 Feb, 2007 9 commits