mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 5de8e2dde3
			
		
	
	
	5de8e2dde3
	
	
	
		
			
			* Migrate `sql/share/errmsg-utf8.txt` to use suffix-based, `-Wformat`
  -compatible `my_snprintf` format extensions introduced in MDEV-21978
* Update relevant tests caught by BuildBot as well
While GCC `-Wformat` (with `ATTRIBUTE_FORMAT`) can catch obsolete or
malformed format string literals, formats originating from other sources
(such as this translations file) (still) require manual review.
This commit also escapes the only (1) instance of existing strings
conflicted by the introduction of suffixes:
(Not all `printf`s goes to `my_snprintf`, thus I `grep`ped and
confirmed that this does indeed land on `my_snprintf` eventually.)
    chi "不能%sSLAVE'%.*s'"
This commit also fixes the following: (You’re welcome.)
* Delete extraneous spaces after the `%` (they’re all Swahili)
* Update `extra/comp_err.c`
  * Add the missing standard C/C++ specifiers `c`, `i`, `o`, `p` and `X`
    (Especially `%i`: it otherwise was complaining about the new `%iE`)
  * Removed the old and obsolete extension formats `%b`, `%M` and `%T`
		
	
			
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			651 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			651 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| Illegal error code: 10000
 | |
| MariaDB error code 1062 (ER_DUP_ENTRY): Duplicate entry '%-.192sT' for key %d
 | |
| Learn more: https://mariadb.com/kb/en/e1062/
 | |
| MariaDB error code 1408 (ER_STARTUP): %s: ready for connections.
 | |
| Version: '%s'  socket: '%s'  port: %d  %s
 | |
| Learn more: https://mariadb.com/kb/en/e1408/
 | |
| MariaDB error code 1459 (ER_TABLE_NEEDS_UPGRADE): Upgrade required. Please do "REPAIR %s %sQ" or dump/reload to fix it!
 | |
| Learn more: https://mariadb.com/kb/en/e1459/
 | |
| MariaDB error code 1461 (ER_MAX_PREPARED_STMT_COUNT_REACHED): Can't create more than max_prepared_stmt_count statements (current value: %u)
 | |
| Learn more: https://mariadb.com/kb/en/e1461/
 |