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.
 
 
 

23 regels
634 B

  1. #pragma once
  2. #include "column.h"
  3. namespace cppmariadb
  4. {
  5. column::column(MYSQL_FIELD& f)
  6. : name (f.name, f.name_length)
  7. , original_name (f.org_name, f.org_name_length)
  8. , table (f.table, f.table_length)
  9. , original_table(f.org_table, f.org_table_length)
  10. , database (f.db, f.db_length)
  11. , length (f.length)
  12. , max_length (f.max_length)
  13. , flags (f.flags)
  14. , decimals (f.decimals)
  15. , charset_number(f.charsetnr)
  16. , type (static_cast<column_type>(f.type))
  17. { }
  18. }