Vidyalelo
MySQL · Q962

MySQL

Programming · MySQL · question 962

Q962

What is the exec_stmt_ssl written in?

A.
C++
B.
C
Answer
C.
Python
D.
Perl

Answer: Option B

Solution

Answer: Option B
Solution:
This question is asking about the programming language used to write the exec_stmt_ssl function in MySQL.
Let's understand what exec_stmt_ssl does: It handles executing prepared statements (a way to execute queries more efficiently) while using SSL (Secure Sockets Layer) for secure communication.
Now, to answer the question:
MySQL is written primarily in C and C++.
Therefore, the correct answer is Option B: C.
While MySQL can interact with other languages like Python and Perl, exec_stmt_ssl is a core function within the MySQL server itself and written using C.