summaryrefslogtreecommitdiff
path: root/sql/ha_partition.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-10-01 15:04:42 +0200
committerMikael Ronstrom <mikael@mysql.com>2009-10-01 15:04:42 +0200
commit26c2389bf5fb0eb3c6c85c490f85dc2af3658cc6 (patch)
treebb2c82e0db4feb614f0c75a19d5328563d607b03 /sql/ha_partition.h
parent9c0d32a1eed20b818977bc1631b7c973dd942131 (diff)
downloadmariadb-git-26c2389bf5fb0eb3c6c85c490f85dc2af3658cc6.tar.gz
Changed all no_ to num_ to avoid strange names like no_list_values which is not expected to be number of list values, rather a boolea indicating no list values
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r--sql/ha_partition.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index cc6558f2db0..3a09c1d2ea3 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -112,7 +112,7 @@ private:
uint m_reorged_parts; // Number of reorganised parts
uint m_tot_parts; // Total number of partitions;
- uint m_no_locks; // For engines like ha_blackhole, which needs no locks
+ uint m_num_locks; // For engines like ha_blackhole, which needs no locks
uint m_last_part; // Last file that we update,write,read
int m_lock_type; // Remembers type of last
// external_lock
@@ -239,10 +239,10 @@ public:
size_t pack_frm_len);
virtual int drop_partitions(const char *path);
virtual int rename_partitions(const char *path);
- bool get_no_parts(const char *name, uint *no_parts)
+ bool get_no_parts(const char *name, uint *num_parts)
{
DBUG_ENTER("ha_partition::get_no_parts");
- *no_parts= m_tot_parts;
+ *num_parts= m_tot_parts;
DBUG_RETURN(0);
}
virtual void change_table_ptr(TABLE *table_arg, TABLE_SHARE *share);