]> granicus.if.org Git - php/commitdiff
reduce the struct size by 8 byte on 64 bit
authorAnatol Belski <ab@php.net>
Sat, 13 Sep 2014 23:22:55 +0000 (01:22 +0200)
committerAnatol Belski <ab@php.net>
Sat, 13 Sep 2014 23:22:55 +0000 (01:22 +0200)
ext/mysqlnd/mysqlnd_structs.h

index d77ab7e9dde42f8b55e6b9b430607dab96e362fe..28cc1eed2f3fd4bc8ea7976bf9a9d19804569f00 100644 (file)
@@ -994,14 +994,17 @@ struct st_mysqlnd_result_metadata
 {
        MYSQLND_FIELD                                   *fields;
        struct mysqlnd_field_hash_key   *zend_hash_keys;
-       unsigned int                                    current_field;
-       unsigned int                                    field_count;
+
+       struct st_mysqlnd_res_meta_methods * m;
+
+       size_t                                                  bit_fields_total_len; /* trailing \0 not counted */
        /* We need this to make fast allocs in rowp_read */
        unsigned int                                    bit_fields_count;
-       size_t                                                  bit_fields_total_len; /* trailing \0 not counted */
-       zend_bool                                               persistent;
 
-       struct st_mysqlnd_res_meta_methods * m;
+       unsigned int                                    current_field;
+       unsigned int                                    field_count;
+
+       zend_bool                                               persistent;
 };