MySQL 8.4.2
Source Code Documentation
test_string_service.cc File Reference

Macros

#define MAX_BUFFER_LENGTH   80
 
#define WRITE_LOG(lit_log_text)
 

Functions

mysql_service_status_t test_string_service_init ()
 This file contains a test (example) component, which tests the service "test_service", provided by the component "service_component". More...
 
mysql_service_status_t test_string_service_deinit ()
 De-initialization method for Component. More...
 
 END_COMPONENT_PROVIDES ()
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_factory)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_converter)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_character_access)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_byte_access)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_case)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_iterator)
 
 REQUIRES_SERVICE_PLACEHOLDER (mysql_string_ctype)
 
 REQUIRES_SERVICE (mysql_string_factory)
 
 REQUIRES_SERVICE (mysql_string_converter)
 
 REQUIRES_SERVICE (mysql_string_character_access)
 
 REQUIRES_SERVICE (mysql_string_byte_access)
 
 REQUIRES_SERVICE (mysql_string_case)
 
 REQUIRES_SERVICE (mysql_string_iterator)
 
 REQUIRES_SERVICE (mysql_string_ctype)
 
 END_COMPONENT_REQUIRES ()
 
 METADATA ("mysql.author", "Oracle Corporation")
 
 METADATA ("mysql.license", "GPL")
 
 METADATA ("test_string_service", "1")
 
 END_COMPONENT_METADATA ()
 

Variables

mysql_component_t mysql_component_test_string_service
 

Macro Definition Documentation

◆ MAX_BUFFER_LENGTH

#define MAX_BUFFER_LENGTH   80

◆ WRITE_LOG

#define WRITE_LOG (   lit_log_text)
Value:
strcpy(log_text, lit_log_text); \
if (fwrite((uchar *)log_text, sizeof(char), strlen(log_text), outfile) != \
strlen(log_text)) \
return true;
unsigned char uchar
Definition: my_inttypes.h:52
static char outfile[FN_REFLEN]
Definition: mysql.cc:233
char log_text[MAX_BUFFER_LENGTH+16]
Definition: test_string_service_charset.cc:41

Function Documentation

◆ END_COMPONENT_METADATA()

END_COMPONENT_METADATA ( )

◆ END_COMPONENT_PROVIDES()

END_COMPONENT_PROVIDES ( )

◆ END_COMPONENT_REQUIRES()

END_COMPONENT_REQUIRES ( )

◆ METADATA() [1/3]

METADATA ( "mysql.author"  ,
"Oracle Corporation"   
)

◆ METADATA() [2/3]

METADATA ( "mysql.license"  ,
"GPL"   
)

◆ METADATA() [3/3]

METADATA ( "test_string_service"  ,
"1"   
)

◆ REQUIRES_SERVICE() [1/7]

REQUIRES_SERVICE ( mysql_string_byte_access  )

◆ REQUIRES_SERVICE() [2/7]

REQUIRES_SERVICE ( mysql_string_case  )

◆ REQUIRES_SERVICE() [3/7]

REQUIRES_SERVICE ( mysql_string_character_access  )

◆ REQUIRES_SERVICE() [4/7]

REQUIRES_SERVICE ( mysql_string_converter  )

◆ REQUIRES_SERVICE() [5/7]

REQUIRES_SERVICE ( mysql_string_ctype  )

◆ REQUIRES_SERVICE() [6/7]

REQUIRES_SERVICE ( mysql_string_factory  )

◆ REQUIRES_SERVICE() [7/7]

REQUIRES_SERVICE ( mysql_string_iterator  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [1/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_byte_access  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [2/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_case  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [3/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_character_access  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [4/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_converter  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [5/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_ctype  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [6/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_factory  )

◆ REQUIRES_SERVICE_PLACEHOLDER() [7/7]

REQUIRES_SERVICE_PLACEHOLDER ( mysql_string_iterator  )

◆ test_string_service_deinit()

mysql_service_status_t test_string_service_deinit ( )

De-initialization method for Component.

◆ test_string_service_init()

mysql_service_status_t test_string_service_init ( )

This file contains a test (example) component, which tests the service "test_service", provided by the component "service_component".

Initialization entry method for test component. It executes the tests of the service.

Variable Documentation

◆ mysql_component_test_string_service

mysql_component_t mysql_component_test_string_service
Initial value:
= { "mysql:test_string_service" , __test_string_service_provides, __test_string_service_requires, __test_string_service_metadata,
mysql_service_status_t test_string_service_init()
This file contains a test (example) component, which tests the service "test_service",...
Definition: test_string_service.cc:49
mysql_service_status_t test_string_service_deinit()
De-initialization method for Component.
Definition: test_string_service.cc:316