You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-11-03 17:13:17 +03:00 
			
		
		
		
	JSON_OBJECT() (and probably some other JSON functions) now properly handle empty strings in their arguments - JSON_OBJECT used to return NULL, now it returns empty string.
		
			
				
	
	
		
			13 lines
		
	
	
		
			322 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			322 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
--disable_warnings
 | 
						|
DROP DATABASE IF EXISTS MCOL5842;
 | 
						|
--enable_warnings
 | 
						|
CREATE DATABASE MCOL5842;
 | 
						|
USE MCOL5842;
 | 
						|
 | 
						|
CREATE TABLE tcs(t TEXT) ENGINE=Columnstore;
 | 
						|
INSERT INTO tcs(t) VALUES ('');
 | 
						|
SELECT JSON_OBJECT('t', t, 'a', 'b') FROM tcs;
 | 
						|
SELECT GROUP_CONCAT(JSON_OBJECT('t', t, 'a', 'b')) FROM tcs;
 | 
						|
 | 
						|
DROP DATABASE MCOL5842;
 |