One more thing.
Actually, those code is not related with "server-side insert" feature. They are related with "client-side insert".
As the CuBRID's terminology, "server-side insert" means that INSERT_PROC XASL.
"Client-side insert" means that calling locator_force() to flush out the object to the server.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and for client side insert / server side insert:
in case of server side insert, it's also called locator_insert_force(). the stack is as bellow:
qexec_execute_insert() -> locator_attribute_info_force() -> locator_insert_force()
in case of client side insert, the stack is:
xlocator_force() -> locator_insert_force()
in server side insert, it's also prepared copy area and flushed to server.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
about server side insert, at function of locator_attribute_info_force() there're following codes:
in case of LC_FLUSH_INSERT why judged again operation?
You can see that there is no "break" statement in the end of the first "case LC_FLUSH_UPDATE" block.
See the comment there… /* Fall through */
Thanks.
One more thing.
Actually, those code is not related with "server-side insert" feature. They are related with "client-side insert".
As the CuBRID's terminology, "server-side insert" means that INSERT_PROC XASL.
"Client-side insert" means that calling locator_force() to flush out the object to the server.
oops, my mistake.
thank you for your explain.
and for client side insert / server side insert:
in case of server side insert, it's also called locator_insert_force(). the stack is as bellow:
qexec_execute_insert() -> locator_attribute_info_force() -> locator_insert_force()
in case of client side insert, the stack is:
xlocator_force() -> locator_insert_force()
in server side insert, it's also prepared copy area and flushed to server.
Yes. You're right. "locator_attribute_info_force()" is called also during server-side insert. I'm confused with somewhat.
Thanks.
thank you