• Tor Didriksen's avatar
    Bug #49130 Running mtr tests with valgrind and debug produces lots of warnings · e22de3a3
    Tor Didriksen authored
    Use safe output formats for strings that are not null terminated.
    
    
    sql/item_func.cc:
      Use "%*.s" rather than "%s" format.
    sql/protocol.cc:
      Use "%*.s" rather than "%s" format.
    sql/sql_test.cc:
      Improve output from print_where()
       - output (nil) predicate if predicate is null
       - also output pointer value, for tracing of assignment and copying of predicates
    sql/sql_view.cc:
      Use "%*.s" rather than "%s" format.
    e22de3a3
item_func.cc 156 KB