[tarantool-patches] Re: [PATCH] sql: disallow to rename space if it is referenced by view

Konstantin Osipov kostja at tarantool.org
Thu Dec 27 13:14:59 MSK 2018


* Nikita Pettik <korablev at tarantool.org> [18/12/09 20:53]:
> +		if (strcmp(def->name, old_space->def->name) != 0 &&
> +		    old_space->def->view_ref_count > 0)
> +			tnt_raise(ClientError, ER_ALTER_SPACE,
> +				  space_name(old_space),
> +				  "can not rename space which is referenced by "
> +				  "view");

referenced by a view (missing article).

Please check your error message with the docs team if you're not
100% confident the grammar is correct.

Thanks!


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list