diff options
author | jimw@mysql.com <> | 2005-10-06 17:37:24 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-10-06 17:37:24 -0700 |
commit | 4a893c96e37ca2b8cd4469d6d81f4f9309a242b1 (patch) | |
tree | a93fd01c0c22a95ed76a61b6d20ae5079b6a6ce3 /sql/sp_cache.cc | |
parent | 59e35d6253515f5c0ed3f094c040e832258ce2a4 (diff) | |
download | mariadb-git-4a893c96e37ca2b8cd4469d6d81f4f9309a242b1.tar.gz |
Fix use of "%*s" *printf() specifiers that were really meant to be
"%.*s". (Bug #13650)
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r-- | sql/sp_cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc index 495f969eeac..fea6a67f32c 100644 --- a/sql/sp_cache.cc +++ b/sql/sp_cache.cc @@ -132,7 +132,7 @@ void sp_cache_insert(sp_cache **cp, sp_head *sp) return; // End of memory error c->version= Cversion; // No need to lock when reading long variable } - DBUG_PRINT("info",("sp_cache: inserting: %*s", sp->m_qname.length, + DBUG_PRINT("info",("sp_cache: inserting: %.*s", sp->m_qname.length, sp->m_qname.str)); c->insert(sp); *cp= c; // Update *cp if it was NULL |