You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
774 B

  1. #pragma once
  2. #include <vector>
  3. #include <mariadb/mysql.h>
  4. #include <mariadb/errmsg.h>
  5. #include <mariadb/mysqld_error.h>
  6. #cmakedefine CPPMARIADB_HAS_CPPLOGGING
  7. #ifdef CPPMARIADB_HAS_CPPLOGGING
  8. #include <cpplogging/interface.h>
  9. #define cppmariadb_log(p_level) \
  10. cpplogging_global_log(p_level)
  11. #else
  12. #include <iostream>
  13. #define cppmariadb_log(p_level) \
  14. ::std::cout << #p_level << ' ' << __FILE__ << ':' << __LINE__ << " - "
  15. #endif
  16. /* pre declarations */
  17. namespace cppmariadb
  18. {
  19. struct column;
  20. struct connection;
  21. struct database;
  22. struct field;
  23. struct result;
  24. struct result_stored;
  25. struct result_used;
  26. struct row;
  27. struct statement;
  28. struct transaction;
  29. using column_vector = std::vector<column>;
  30. }